|
@@ -1,9 +1,67 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div>
|
|
<div>
|
|
|
<DefaultHeaderPage title="Contas a Pagar" :show-filter-icon="false" />
|
|
<DefaultHeaderPage title="Contas a Pagar" :show-filter-icon="false" />
|
|
|
|
|
+
|
|
|
|
|
+ <div class="row q-pa-md q-gutter-md">
|
|
|
|
|
+ <FinancialCard
|
|
|
|
|
+ title="Saldo Tesouraria"
|
|
|
|
|
+ icon="mdi-bank-outline"
|
|
|
|
|
+ :financial-value="0"
|
|
|
|
|
+ :integer="0"
|
|
|
|
|
+ integer-label="pagamentos pendentes"
|
|
|
|
|
+ />
|
|
|
|
|
+ <FinancialCard
|
|
|
|
|
+ title="Contas Quitadas"
|
|
|
|
|
+ icon="mdi-check-circle-outline"
|
|
|
|
|
+ :financial-value="0"
|
|
|
|
|
+ :integer="0"
|
|
|
|
|
+ integer-label="pagamentos pendentes"
|
|
|
|
|
+ />
|
|
|
|
|
+ <FinancialCard
|
|
|
|
|
+ title="Contas a Pagar"
|
|
|
|
|
+ icon="mdi-cash-minus"
|
|
|
|
|
+ :financial-value="0"
|
|
|
|
|
+ :integer="0"
|
|
|
|
|
+ integer-label="pagamentos pendentes"
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="row justify-end items-center q-px-md q-mb-sm q-gutter-sm">
|
|
|
|
|
+ <q-btn color="primary" label="Últimas Movimentações" unelevated no-caps />
|
|
|
|
|
+ <q-btn color="primary" label="Exportar Relatório" icon="mdi-download" unelevated no-caps />
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="q-px-md">
|
|
|
|
|
+ <DefaultTable
|
|
|
|
|
+ v-model:rows="rows"
|
|
|
|
|
+ no-api-call
|
|
|
|
|
+ add-item
|
|
|
|
|
+ title="Contas a Pagar"
|
|
|
|
|
+ description="contas"
|
|
|
|
|
+ :female="true"
|
|
|
|
|
+ :columns="columns"
|
|
|
|
|
+ @on-add-item="handleAddItem"
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
|
|
+import { ref } from "vue";
|
|
|
import DefaultHeaderPage from "src/components/layout/DefaultHeaderPage.vue";
|
|
import DefaultHeaderPage from "src/components/layout/DefaultHeaderPage.vue";
|
|
|
|
|
+import DefaultTable from "src/components/defaults/DefaultTable.vue";
|
|
|
|
|
+import FinancialCard from "src/components/financial/FinancialCard.vue";
|
|
|
|
|
+
|
|
|
|
|
+const rows = ref([]);
|
|
|
|
|
+
|
|
|
|
|
+const columns = [
|
|
|
|
|
+ { name: "unit", label: "Unidade", field: "unit", align: "left" },
|
|
|
|
|
+ { name: "description", label: "Descrição", field: "description", align: "left" },
|
|
|
|
|
+ { name: "category", label: "Categoria", field: "category", align: "left" },
|
|
|
|
|
+ { name: "value", label: "Valor", field: "value", align: "left" },
|
|
|
|
|
+ { name: "due_date", label: "Vencimento", field: "due_date", align: "left" },
|
|
|
|
|
+ { name: "status", label: "Status", field: "status", align: "left" },
|
|
|
|
|
+];
|
|
|
|
|
+
|
|
|
|
|
+const handleAddItem = () => {};
|
|
|
</script>
|
|
</script>
|