diff --git a/ui/src/pages/ProductionProductCostingNoCost.vue b/ui/src/pages/ProductionProductCostingNoCost.vue
index 03ac47a..666b338 100644
--- a/ui/src/pages/ProductionProductCostingNoCost.vue
+++ b/ui/src/pages/ProductionProductCostingNoCost.vue
@@ -152,6 +152,23 @@
+
+
+
+
+ DINAMIK TOPLAM ({{ dynamicTotals.rowCount }} SATIR)
+
+
+ {{ formatQuantity(dynamicTotals[col.name]) }}
+
+
+
+
+
{
return Array.isArray(rows.value) ? rows.value.length : 0
})
+const dynamicTotals = computed(() => {
+ const visibleRows = Array.isArray(rows.value) ? rows.value : []
+ return visibleRows.reduce((totals, row) => {
+ totals.lMMiktar_G += Number(row?.lMMiktar_G || 0)
+ totals.ceketDepoGiris += Number(row?.ceketDepoGiris || 0)
+ totals.pantolonDepoGiris += Number(row?.pantolonDepoGiris || 0)
+ totals.yelekDepoGiris += Number(row?.yelekDepoGiris || 0)
+ return totals
+ }, {
+ rowCount: visibleRows.length,
+ lMMiktar_G: 0,
+ ceketDepoGiris: 0,
+ pantolonDepoGiris: 0,
+ yelekDepoGiris: 0
+ })
+})
+
function getColumnComparableValue (row, colName) {
if (colName === 'dteIslemTarihi') {
return formatDateTR(row?.dteIslemTarihi)
@@ -650,6 +684,14 @@ onMounted(async () => {
line-height: 1.15;
}
+.npc-table :deep(.npc-total-row td) {
+ background: #e8f5e9;
+ color: #1b5e20;
+ border-bottom: 2px solid #66bb6a;
+ font-size: 11px;
+ white-space: normal !important;
+}
+
.npc-table :deep(.q-table) {
width: 100%;
table-layout: fixed;