Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<template>
|
||||
<q-page v-if="canReadFinance" class="q-pa-md page-col statement-page">
|
||||
|
||||
<!-- 🔹 Cari Kod / İsim (sabit) -->
|
||||
<!-- Cari Kod / İsim (sabit) -->
|
||||
<div class="filter-sticky">
|
||||
<q-select
|
||||
v-model="selectedCari"
|
||||
@@ -22,7 +22,7 @@
|
||||
/>
|
||||
</div>
|
||||
|
||||
<!-- 🔹 Filtre Alanı -->
|
||||
<!-- Filtre Alanı -->
|
||||
<div class="filter-collapsible">
|
||||
<div class="row items-center justify-between q-pa-sm bg-grey-2">
|
||||
<div class="text-subtitle1">Filtreler</div>
|
||||
@@ -116,7 +116,7 @@
|
||||
</q-slide-transition>
|
||||
</div>
|
||||
|
||||
<!-- 🔹 Tablo Alanı -->
|
||||
<!-- Tablo Alanı -->
|
||||
<div class="table-scroll">
|
||||
|
||||
<!-- Toggle butonları (sticky üst bar) -->
|
||||
@@ -438,7 +438,7 @@ function toggleRowDetails(row) {
|
||||
expandedRows.value[row.belge_no] = !expandedRows.value[row.belge_no]
|
||||
}
|
||||
|
||||
/* 🔹 Tüm detayları aç/kapat */
|
||||
/* Tüm detayları aç/kapat */
|
||||
function toggleAllDetails() {
|
||||
allDetailsOpen.value = !allDetailsOpen.value
|
||||
if (allDetailsOpen.value) {
|
||||
@@ -454,7 +454,7 @@ function toggleAllDetails() {
|
||||
function normalizeText (str) {
|
||||
return (str || '')
|
||||
.toString()
|
||||
.toLocaleLowerCase('tr-TR') // 🔥 Türkçe uyumlu
|
||||
.toLocaleLowerCase('tr-TR') // Türkçe uyumlu
|
||||
.normalize('NFD') // aksan temizleme
|
||||
.replace(/[\u0300-\u036f]/g, '')
|
||||
.trim()
|
||||
@@ -480,7 +480,7 @@ function formatAmount(n) {
|
||||
|
||||
const filtersOpen = ref(true)
|
||||
|
||||
/* 🔹 Kolon gizle/göster */
|
||||
/* Kolon gizle/göster */
|
||||
const visibleColumns = ref([])
|
||||
const showLeftCols = ref(true)
|
||||
|
||||
@@ -501,7 +501,7 @@ function toggleLeftCols() {
|
||||
showLeftCols.value = !showLeftCols.value
|
||||
}
|
||||
|
||||
/* 🔹 PDF İndirme Butonuna bağla */
|
||||
/* PDF İndirme Butonuna bağla */
|
||||
async function handleDownload() {
|
||||
if (!canExportFinance.value) {
|
||||
$q.notify({
|
||||
@@ -536,14 +536,14 @@ async function handleDownload() {
|
||||
selectedMonType.value // <-- eklendi (['1','2'] veya ['1','3'])
|
||||
)
|
||||
|
||||
console.log("📤 [DEBUG] Store’dan gelen result:", result)
|
||||
console.log("[DEBUG] Store’dan gelen result:", result)
|
||||
|
||||
$q.notify({
|
||||
type: result.ok ? 'positive' : 'negative',
|
||||
message: result.message,
|
||||
position: 'top-right'
|
||||
})
|
||||
}/* 🔹 Cari Hesap Ekstresi (2. seçenek) */
|
||||
}/* Cari Hesap Ekstresi (2. seçenek) */
|
||||
import { useDownloadstHeadStore } from 'src/stores/downloadstHeadStore'
|
||||
|
||||
const downloadstHeadStore = useDownloadstHeadStore()
|
||||
@@ -582,7 +582,7 @@ async function CurrheadDownload() {
|
||||
selectedMonType.value // parasal işlem tipi (parislemler)
|
||||
)
|
||||
|
||||
console.log("📤 [DEBUG] CurrheadDownloadresult:", result)
|
||||
console.log("[DEBUG] CurrheadDownloadresult:", result)
|
||||
|
||||
$q.notify({
|
||||
type: result.ok ? 'positive' : 'negative',
|
||||
@@ -689,3 +689,4 @@ async function CurrheadDownload() {
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user