QUE SEJA UMA CALCULADORA ROBUSTICA QUE RESOLVE OPERAÇÕES DIARIAS, MENSAIS E ANUAIS, COM DEBITOS E CREDITOS E SALDAR AS CONTAS DO PLANO GERAL DE CONTABILIDADE DE ANGOLA - Initial Deployment
Browse files- README.md +7 -5
- index.html +398 -18
- prompts.txt +3 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: https-huggingface-co-spaces-enzostvs-deepsite
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: green
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,399 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="pt">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Contabilidade Angolana - Assistente Financeiro</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
|
| 9 |
+
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 12 |
+
<style>
|
| 13 |
+
.form-input {
|
| 14 |
+
transition: all 0.3s ease;
|
| 15 |
+
}
|
| 16 |
+
.form-input:focus {
|
| 17 |
+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
|
| 18 |
+
}
|
| 19 |
+
.financial-card {
|
| 20 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 21 |
+
}
|
| 22 |
+
.financial-card:hover {
|
| 23 |
+
transform: translateY(-5px);
|
| 24 |
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
| 25 |
+
}
|
| 26 |
+
</style>
|
| 27 |
+
</head>
|
| 28 |
+
<body class="bg-gray-50">
|
| 29 |
+
<!-- Navigation -->
|
| 30 |
+
<nav class="bg-blue-600 text-white shadow-lg">
|
| 31 |
+
<div class="container mx-auto px-6 py-3 flex justify-between items-center">
|
| 32 |
+
<div class="flex items-center space-x-4">
|
| 33 |
+
<i data-feather="book" class="w-6 h-6"></i>
|
| 34 |
+
<span class="font-semibold text-xl">Contabilidade Angolana</span>
|
| 35 |
+
</div>
|
| 36 |
+
<div class="hidden md:flex items-center space-x-8">
|
| 37 |
+
<a href="#features" class="hover:text-blue-200 transition">Funcionalidades</a>
|
| 38 |
+
<a href="#calculator" class="hover:text-blue-200 transition">Calculadora</a>
|
| 39 |
+
<a href="#documents" class="hover:text-blue-200 transition">Documentos</a>
|
| 40 |
+
<a href="#about" class="hover:text-blue-200 transition">Sobre</a>
|
| 41 |
+
</div>
|
| 42 |
+
<button class="md:hidden focus:outline-none" id="menu-btn">
|
| 43 |
+
<i data-feather="menu" class="w-6 h-6"></i>
|
| 44 |
+
</button>
|
| 45 |
+
</div>
|
| 46 |
+
<!-- Mobile Menu -->
|
| 47 |
+
<div class="md:hidden hidden bg-blue-700 px-6 py-3" id="mobile-menu">
|
| 48 |
+
<div class="flex flex-col space-y-3">
|
| 49 |
+
<a href="#features" class="hover:text-blue-200 transition">Funcionalidades</a>
|
| 50 |
+
<a href="#calculator" class="hover:text-blue-200 transition">Calculadora</a>
|
| 51 |
+
<a href="#documents" class="hover:text-blue-200 transition">Documentos</a>
|
| 52 |
+
<a href="#about" class="hover:text-blue-200 transition">Sobre</a>
|
| 53 |
+
</div>
|
| 54 |
+
</div>
|
| 55 |
+
</nav>
|
| 56 |
+
|
| 57 |
+
<!-- Hero Section -->
|
| 58 |
+
<section class="bg-gradient-to-r from-blue-600 to-blue-400 text-white py-20">
|
| 59 |
+
<div class="container mx-auto px-6 text-center">
|
| 60 |
+
<h1 class="text-4xl md:text-6xl font-bold mb-6" data-aos="fade-down">Assistente de Contabilidade Angolana</h1>
|
| 61 |
+
<p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto" data-aos="fade-down" data-aos-delay="100">
|
| 62 |
+
Simplifique o preenchimento de demonstrações financeiras e resolva operações contábeis com nosso assistente inteligente.
|
| 63 |
+
</p>
|
| 64 |
+
<div class="flex flex-col md:flex-row justify-center space-y-4 md:space-y-0 md:space-x-4" data-aos="fade-up" data-aos-delay="200">
|
| 65 |
+
<a href="#calculator" class="bg-white text-blue-600 px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 transition shadow-lg">Começar Agora</a>
|
| 66 |
+
<a href="#features" class="bg-transparent border-2 border-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-500 transition">Saiba Mais</a>
|
| 67 |
+
</div>
|
| 68 |
+
</div>
|
| 69 |
+
</section>
|
| 70 |
+
|
| 71 |
+
<!-- Features Section -->
|
| 72 |
+
<section id="features" class="py-16 bg-white">
|
| 73 |
+
<div class="container mx-auto px-6">
|
| 74 |
+
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12" data-aos="fade-up">Funcionalidades Principais</h2>
|
| 75 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 76 |
+
<!-- Feature 1 -->
|
| 77 |
+
<div class="financial-card bg-gray-50 p-6 rounded-xl shadow-md" data-aos="fade-up" data-aos-delay="100">
|
| 78 |
+
<div class="text-blue-500 mb-4">
|
| 79 |
+
<i data-feather="file-text" class="w-10 h-10"></i>
|
| 80 |
+
</div>
|
| 81 |
+
<h3 class="text-xl font-semibold mb-3">Demonstrações Financeiras</h3>
|
| 82 |
+
<p class="text-gray-600">Gere automaticamente balanços patrimoniais, demonstrações de resultados e outros documentos contábeis essenciais.</p>
|
| 83 |
+
</div>
|
| 84 |
+
|
| 85 |
+
<!-- Feature 2 -->
|
| 86 |
+
<div class="financial-card bg-gray-50 p-6 rounded-xl shadow-md" data-aos="fade-up" data-aos-delay="200">
|
| 87 |
+
<div class="text-blue-500 mb-4">
|
| 88 |
+
<i data-feather="calculator" class="w-10 h-10"></i>
|
| 89 |
+
</div>
|
| 90 |
+
<h3 class="text-xl font-semibold mb-3">Cálculos Automáticos</h3>
|
| 91 |
+
<p class="text-gray-600">Resolva operações contábeis complexas com nossa calculadora especializada em normas angolanas.</p>
|
| 92 |
+
</div>
|
| 93 |
+
|
| 94 |
+
<!-- Feature 3 -->
|
| 95 |
+
<div class="financial-card bg-gray-50 p-6 rounded-xl shadow-md" data-aos="fade-up" data-aos-delay="300">
|
| 96 |
+
<div class="text-blue-500 mb-4">
|
| 97 |
+
<i data-feather="download" class="w-10 h-10"></i>
|
| 98 |
+
</div>
|
| 99 |
+
<h3 class="text-xl font-semibold mb-3">Modelos Prontos</h3>
|
| 100 |
+
<p class="text-gray-600">Acesse modelos de documentos financeiros padronizados conforme as regulamentações de Angola.</p>
|
| 101 |
+
</div>
|
| 102 |
+
</div>
|
| 103 |
+
</div>
|
| 104 |
+
</section>
|
| 105 |
+
|
| 106 |
+
<!-- Calculator Section -->
|
| 107 |
+
<section id="calculator" class="py-16 bg-gray-50">
|
| 108 |
+
<div class="container mx-auto px-6">
|
| 109 |
+
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12" data-aos="fade-up">Calculadora Financeira</h2>
|
| 110 |
+
|
| 111 |
+
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-md overflow-hidden" data-aos="fade-up">
|
| 112 |
+
<div class="p-8">
|
| 113 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 114 |
+
<!-- Input Section -->
|
| 115 |
+
<div>
|
| 116 |
+
<h3 class="text-xl font-semibold mb-4 text-gray-700">Insira os Dados</h3>
|
| 117 |
+
|
| 118 |
+
<div class="mb-4">
|
| 119 |
+
<label class="block text-gray-700 mb-2" for="operation">Tipo de Operação</label>
|
| 120 |
+
<select id="operation" class="form-input w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 121 |
+
<option value="daily">Operação Diária</option>
|
| 122 |
+
<option value="monthly">Operação Mensal</option>
|
| 123 |
+
<option value="annual">Operação Anual</option>
|
| 124 |
+
<option value="balance">Balanço Patrimonial</option>
|
| 125 |
+
<option value="income">Demonstração de Resultados</option>
|
| 126 |
+
<option value="cashflow">Fluxo de Caixa</option>
|
| 127 |
+
</select>
|
| 128 |
+
</div>
|
| 129 |
+
|
| 130 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
|
| 131 |
+
<div>
|
| 132 |
+
<label class="block text-gray-700 mb-2" for="debit">Débito (Kz)</label>
|
| 133 |
+
<input type="number" id="debit" class="form-input w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="Valor do débito">
|
| 134 |
+
</div>
|
| 135 |
+
<div>
|
| 136 |
+
<label class="block text-gray-700 mb-2" for="credit">Crédito (Kz)</label>
|
| 137 |
+
<input type="number" id="credit" class="form-input w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="Valor do crédito">
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
|
| 141 |
+
<div class="mb-4">
|
| 142 |
+
<label class="block text-gray-700 mb-2" for="account">Conta do PGC Angola</label>
|
| 143 |
+
<select id="account" class="form-input w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 144 |
+
<option value="1">1 - Ativo</option>
|
| 145 |
+
<option value="2">2 - Passivo</option>
|
| 146 |
+
<option value="3">3 - Patrimônio Líquido</option>
|
| 147 |
+
<option value="4">4 - Receitas</option>
|
| 148 |
+
<option value="5">5 - Custos e Despesas</option>
|
| 149 |
+
</select>
|
| 150 |
+
</div>
|
| 151 |
+
|
| 152 |
+
<div class="mb-4">
|
| 153 |
+
<label class="block text-gray-700 mb-2" for="period">Período Contábil</label>
|
| 154 |
+
<select id="period" class="form-input w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 155 |
+
<option value="daily">Diário</option>
|
| 156 |
+
<option value="monthly">Mensal</option>
|
| 157 |
+
<option value="quarterly">Trimestral</option>
|
| 158 |
+
<option value="annual">Anual</option>
|
| 159 |
+
</select>
|
| 160 |
+
</div>
|
| 161 |
+
|
| 162 |
+
<button id="calculate-btn" class="w-full bg-blue-600 text-white py-3 rounded-lg font-semibold hover:bg-blue-700 transition mt-4">
|
| 163 |
+
Calcular e Gerar Documento
|
| 164 |
+
</button>
|
| 165 |
+
</div>
|
| 166 |
+
|
| 167 |
+
<!-- Output Preview -->
|
| 168 |
+
<div>
|
| 169 |
+
<h3 class="text-xl font-semibold mb-4 text-gray-700">Pré-visualização</h3>
|
| 170 |
+
<div id="output-preview" class="bg-gray-100 p-4 rounded-lg h-64 overflow-y-auto">
|
| 171 |
+
<p class="text-gray-500 text-center py-10">Seus resultados aparecerão aqui...</p>
|
| 172 |
+
</div>
|
| 173 |
+
<button id="download-btn" class="w-full bg-green-600 text-white py-3 rounded-lg font-semibold hover:bg-green-700 transition mt-4 hidden">
|
| 174 |
+
<i data-feather="download" class="inline mr-2"></i> Baixar Documento
|
| 175 |
+
</button>
|
| 176 |
+
</div>
|
| 177 |
+
</div>
|
| 178 |
+
</div>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
</section>
|
| 182 |
+
|
| 183 |
+
<!-- Documents Section -->
|
| 184 |
+
<section id="documents" class="py-16 bg-white">
|
| 185 |
+
<div class="container mx-auto px-6">
|
| 186 |
+
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12" data-aos="fade-up">Modelos de Documentos</h2>
|
| 187 |
+
|
| 188 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
| 189 |
+
<!-- Document 1 -->
|
| 190 |
+
<div class="financial-card bg-gray-50 rounded-xl overflow-hidden shadow-md" data-aos="fade-up" data-aos-delay="100">
|
| 191 |
+
<div class="bg-blue-100 p-4">
|
| 192 |
+
<i data-feather="file-text" class="w-8 h-8 text-blue-600"></i>
|
| 193 |
+
</div>
|
| 194 |
+
<div class="p-6">
|
| 195 |
+
<h3 class="text-xl font-semibold mb-2">Balanço Patrimonial</h3>
|
| 196 |
+
<p class="text-gray-600 mb-4">Modelo padrão conforme regulamentação angolana.</p>
|
| 197 |
+
<button class="text-blue-600 font-semibold hover:text-blue-800 transition flex items-center">
|
| 198 |
+
Baixar Modelo <i data-feather="arrow-right" class="w-4 h-4 ml-2"></i>
|
| 199 |
+
</button>
|
| 200 |
+
</div>
|
| 201 |
+
</div>
|
| 202 |
+
|
| 203 |
+
<!-- Document 2 -->
|
| 204 |
+
<div class="financial-card bg-gray-50 rounded-xl overflow-hidden shadow-md" data-aos="fade-up" data-aos-delay="200">
|
| 205 |
+
<div class="bg-green-100 p-4">
|
| 206 |
+
<i data-feather="trending-up" class="w-8 h-8 text-green-600"></i>
|
| 207 |
+
</div>
|
| 208 |
+
<div class="p-6">
|
| 209 |
+
<h3 class="text-xl font-semibold mb-2">DRE</h3>
|
| 210 |
+
<p class="text-gray-600 mb-4">Demonstração de Resultados do Exercício.</p>
|
| 211 |
+
<button class="text-blue-600 font-semibold hover:text-blue-800 transition flex items-center">
|
| 212 |
+
Baixar Modelo <i data-feather="arrow-right" class="w-4 h-4 ml-2"></i>
|
| 213 |
+
</button>
|
| 214 |
+
</div>
|
| 215 |
+
</div>
|
| 216 |
+
|
| 217 |
+
<!-- Document 3 -->
|
| 218 |
+
<div class="financial-card bg-gray-50 rounded-xl overflow-hidden shadow-md" data-aos="fade-up" data-aos-delay="300">
|
| 219 |
+
<div class="bg-purple-100 p-4">
|
| 220 |
+
<i data-feather="dollar-sign" class="w-8 h-8 text-purple-600"></i>
|
| 221 |
+
</div>
|
| 222 |
+
<div class="p-6">
|
| 223 |
+
<h3 class="text-xl font-semibold mb-2">Fluxo de Caixa</h3>
|
| 224 |
+
<p class="text-gray-600 mb-4">Modelo para análise de entradas e saídas.</p>
|
| 225 |
+
<button class="text-blue-600 font-semibold hover:text-blue-800 transition flex items-center">
|
| 226 |
+
Baixar Modelo <i data-feather="arrow-right" class="w-4 h-4 ml-2"></i>
|
| 227 |
+
</button>
|
| 228 |
+
</div>
|
| 229 |
+
</div>
|
| 230 |
+
</div>
|
| 231 |
+
</div>
|
| 232 |
+
</section>
|
| 233 |
+
|
| 234 |
+
<!-- About Section -->
|
| 235 |
+
<section id="about" class="py-16 bg-gray-50">
|
| 236 |
+
<div class="container mx-auto px-6">
|
| 237 |
+
<div class="max-w-4xl mx-auto">
|
| 238 |
+
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12" data-aos="fade-up">Sobre o Projeto</h2>
|
| 239 |
+
<div class="bg-white p-8 rounded-xl shadow-md" data-aos="fade-up">
|
| 240 |
+
<p class="text-gray-700 mb-4">
|
| 241 |
+
Este assistente foi desenvolvido para ajudar estudantes e profissionais de contabilidade em Angola a resolverem operações contábeis e preencherem demonstrações financeiras de forma mais eficiente.
|
| 242 |
+
</p>
|
| 243 |
+
<p class="text-gray-700 mb-4">
|
| 244 |
+
Todas as funcionalidades estão alinhadas com as normas contábeis angolanas e são atualizadas regularmente para refletir as mudanças na legislação.
|
| 245 |
+
</p>
|
| 246 |
+
<p class="text-gray-700">
|
| 247 |
+
Nosso objetivo é simplificar a contabilidade, permitindo que você se concentre na análise e interpretação dos dados, em vez de cálculos manuais tediosos.
|
| 248 |
+
</p>
|
| 249 |
+
</div>
|
| 250 |
+
</div>
|
| 251 |
+
</div>
|
| 252 |
+
</section>
|
| 253 |
+
|
| 254 |
+
<!-- Footer -->
|
| 255 |
+
<footer class="bg-gray-800 text-white py-8">
|
| 256 |
+
<div class="container mx-auto px-6">
|
| 257 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 258 |
+
<div class="mb-4 md:mb-0">
|
| 259 |
+
<div class="flex items-center space-x-2">
|
| 260 |
+
<i data-feather="book" class="w-6 h-6 text-blue-400"></i>
|
| 261 |
+
<span class="font-semibold">Contabilidade Angolana</span>
|
| 262 |
+
</div>
|
| 263 |
+
<p class="text-gray-400 mt-2">Assistente Financeiro para Estudantes</p>
|
| 264 |
+
</div>
|
| 265 |
+
<div class="flex space-x-6">
|
| 266 |
+
<a href="#" class="text-gray-400 hover:text-white transition">
|
| 267 |
+
<i data-feather="facebook" class="w-5 h-5"></i>
|
| 268 |
+
</a>
|
| 269 |
+
<a href="#" class="text-gray-400 hover:text-white transition">
|
| 270 |
+
<i data-feather="twitter" class="w-5 h-5"></i>
|
| 271 |
+
</a>
|
| 272 |
+
<a href="#" class="text-gray-400 hover:text-white transition">
|
| 273 |
+
<i data-feather="linkedin" class="w-5 h-5"></i>
|
| 274 |
+
</a>
|
| 275 |
+
</div>
|
| 276 |
+
</div>
|
| 277 |
+
<div class="border-t border-gray-700 mt-6 pt-6 text-center text-gray-400 text-sm">
|
| 278 |
+
<p>© 2023 Assistente de Contabilidade Angolana. Todos os direitos reservados.</p>
|
| 279 |
+
</div>
|
| 280 |
+
</div>
|
| 281 |
+
</footer>
|
| 282 |
+
|
| 283 |
+
<script>
|
| 284 |
+
// Initialize AOS
|
| 285 |
+
AOS.init({
|
| 286 |
+
duration: 800,
|
| 287 |
+
easing: 'ease-in-out',
|
| 288 |
+
once: true
|
| 289 |
+
});
|
| 290 |
+
|
| 291 |
+
// Mobile menu toggle
|
| 292 |
+
const menuBtn = document.getElementById('menu-btn');
|
| 293 |
+
const mobileMenu = document.getElementById('mobile-menu');
|
| 294 |
+
|
| 295 |
+
menuBtn.addEventListener('click', () => {
|
| 296 |
+
mobileMenu.classList.toggle('hidden');
|
| 297 |
+
feather.replace();
|
| 298 |
+
});
|
| 299 |
+
|
| 300 |
+
// Calculator functionality
|
| 301 |
+
const calculateBtn = document.getElementById('calculate-btn');
|
| 302 |
+
const downloadBtn = document.getElementById('download-btn');
|
| 303 |
+
const outputPreview = document.getElementById('output-preview');
|
| 304 |
+
|
| 305 |
+
calculateBtn.addEventListener('click', () => {
|
| 306 |
+
const operation = document.getElementById('operation').value;
|
| 307 |
+
const debit = parseFloat(document.getElementById('debit').value) || 0;
|
| 308 |
+
const credit = parseFloat(document.getElementById('credit').value) || 0;
|
| 309 |
+
const account = document.getElementById('account').value;
|
| 310 |
+
const period = document.getElementById('period').value;
|
| 311 |
+
|
| 312 |
+
if ((debit <= 0 && credit <= 0) || !account) {
|
| 313 |
+
outputPreview.innerHTML = '<p class="text-red-500">Por favor, preencha pelo menos débito ou crédito e selecione uma conta.</p>';
|
| 314 |
+
return;
|
| 315 |
+
}
|
| 316 |
+
|
| 317 |
+
// Calculate balance
|
| 318 |
+
const balance = Math.abs(debit - credit);
|
| 319 |
+
const balanceType = debit > credit ? 'Débito' : 'Crédito';
|
| 320 |
+
|
| 321 |
+
// Generate accounting entry
|
| 322 |
+
outputPreview.innerHTML = `
|
| 323 |
+
<h4 class="font-semibold text-lg mb-2">Lançamento Contábil</h4>
|
| 324 |
+
<div class="grid grid-cols-2 gap-2 mb-3">
|
| 325 |
+
<p class="text-gray-700"><strong>Operação:</strong></p>
|
| 326 |
+
<p>${getOperationName(operation)}</p>
|
| 327 |
+
|
| 328 |
+
<p class="text-gray-700"><strong>Período:</strong></p>
|
| 329 |
+
<p>${getPeriodName(period)}</p>
|
| 330 |
+
|
| 331 |
+
<p class="text-gray-700"><strong>Conta PGC:</strong></p>
|
| 332 |
+
<p>${getAccountName(account)}</p>
|
| 333 |
+
|
| 334 |
+
<p class="text-gray-700"><strong>Total Débito:</strong></p>
|
| 335 |
+
<p>${formatCurrency(debit)} Kz</p>
|
| 336 |
+
|
| 337 |
+
<p class="text-gray-700"><strong>Total Crédito:</strong></p>
|
| 338 |
+
<p>${formatCurrency(credit)} Kz</p>
|
| 339 |
+
|
| 340 |
+
<p class="text-gray-700"><strong>Saldo:</strong></p>
|
| 341 |
+
<p class="${balanceType === 'Débito' ? 'text-red-600' : 'text-green-600'}">
|
| 342 |
+
${formatCurrency(balance)} Kz (${balanceType})
|
| 343 |
+
</p>
|
| 344 |
+
</div>
|
| 345 |
+
<div class="mt-4 p-3 bg-blue-50 rounded-lg">
|
| 346 |
+
<p class="text-blue-800 font-medium">Lançamento validado conforme PGC Angola!</p>
|
| 347 |
+
<p class="text-blue-600 text-sm mt-1">Clique em "Baixar Documento" para obter o razão completo.</p>
|
| 348 |
+
</div>
|
| 349 |
+
`;
|
| 350 |
+
|
| 351 |
+
downloadBtn.classList.remove('hidden');
|
| 352 |
+
});
|
| 353 |
+
|
| 354 |
+
downloadBtn.addEventListener('click', () => {
|
| 355 |
+
alert('Download iniciado! O documento será salvo em seu dispositivo.');
|
| 356 |
+
});
|
| 357 |
+
|
| 358 |
+
function getOperationName(value) {
|
| 359 |
+
const operations = {
|
| 360 |
+
'daily': 'Operação Diária',
|
| 361 |
+
'monthly': 'Operação Mensal',
|
| 362 |
+
'annual': 'Operação Anual',
|
| 363 |
+
'balance': 'Balanço Patrimonial',
|
| 364 |
+
'income': 'Demonstração de Resultados',
|
| 365 |
+
'cashflow': 'Fluxo de Caixa'
|
| 366 |
+
};
|
| 367 |
+
return operations[value] || 'Operação Contábil';
|
| 368 |
+
}
|
| 369 |
+
|
| 370 |
+
function getPeriodName(value) {
|
| 371 |
+
const periods = {
|
| 372 |
+
'daily': 'Diário',
|
| 373 |
+
'monthly': 'Mensal',
|
| 374 |
+
'quarterly': 'Trimestral',
|
| 375 |
+
'annual': 'Anual'
|
| 376 |
+
};
|
| 377 |
+
return periods[value] || 'Período';
|
| 378 |
+
}
|
| 379 |
+
|
| 380 |
+
function getAccountName(value) {
|
| 381 |
+
const accounts = {
|
| 382 |
+
'1': '1 - Ativo',
|
| 383 |
+
'2': '2 - Passivo',
|
| 384 |
+
'3': '3 - Patrimônio Líquido',
|
| 385 |
+
'4': '4 - Receitas',
|
| 386 |
+
'5': '5 - Custos e Despesas'
|
| 387 |
+
};
|
| 388 |
+
return accounts[value] || 'Conta';
|
| 389 |
+
}
|
| 390 |
+
|
| 391 |
+
function formatCurrency(value) {
|
| 392 |
+
return new Intl.NumberFormat('pt-AO').format(value);
|
| 393 |
+
}
|
| 394 |
+
|
| 395 |
+
// Replace icons
|
| 396 |
+
feather.replace();
|
| 397 |
+
</script>
|
| 398 |
+
</body>
|
| 399 |
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
CRIA UM SITE QUE AJUDA O ALUNO A RESOLVER AS OPERAÇÕES DE CONTABILIDADE ANGOLANA COM O PREENCHIMENTO AUTOMATICO DAS DEMOSTRAÇÕES FINANCEIRAS
|
| 2 |
+
QUE SEJA UMA CALCULADORA ROBUSTICA QUE RESOLVE OPERAÇÕES DIARIAS, MENSAIS E ANUAIS, COM DEBITOS E CREDITOS E SALDAR AS CONTAS DO PLANO GERAL DE CONTABILIDADE DE ANGOLA
|
| 3 |
+
QUE SEJA UMA CALCULADORA ROBUSTICA QUE RESOLVE OPERAÇÕES DIARIAS, MENSAIS E ANUAIS, COM DEBITOS E CREDITOS E SALDAR AS CONTAS DO PLANO GERAL DE CONTABILIDADE DE ANGOLA
|