From 337364b2599089153a1c544ffc4ea41a0a734524 Mon Sep 17 00:00:00 2001 From: M_Kececi Date: Tue, 3 Mar 2026 13:45:15 +0300 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ui/src/css/app.css | 112 ++++++++++++++++++++++ ui/src/pages/statementofaccount.vue | 41 +++++++- ui/src/stores/accountAgingBalanceStore.js | 19 ++-- ui/src/stores/customerBalanceListStore.js | 25 ++--- 4 files changed, 178 insertions(+), 19 deletions(-) diff --git a/ui/src/css/app.css b/ui/src/css/app.css index 3672f63..a6e6244 100644 --- a/ui/src/css/app.css +++ b/ui/src/css/app.css @@ -1689,3 +1689,115 @@ body { width: 98vw; max-width: 1900px; } + +/* =========================================================== + GLOBAL MOBILE USABILITY PACK + =========================================================== */ +@media (max-width: 1024px) { + .q-layout, + .q-page-container, + .q-page { + max-width: 100vw; + overflow-x: hidden; + } + + .q-page { + padding-left: 8px !important; + padding-right: 8px !important; + } + + .q-toolbar { + min-height: 52px !important; + } + + .q-toolbar-title { + font-size: 1.15rem; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + + .page-layout, + .statement-page, + .order-prod-page, + .permissions-page, + .user-detail-page { + min-height: 0; + overflow: auto; + } + + .filter-sticky, + .local-filter-bar, + .sticky-bar, + .page-header, + .save-toolbar { + max-width: 100%; + } + + .filters-panel { + max-height: 46vh; + overflow-y: auto; + overflow-x: hidden; + -webkit-overflow-scrolling: touch; + } + + .top-actions, + .top-actions.single-line { + flex-wrap: nowrap; + overflow-x: auto; + overflow-y: hidden; + -webkit-overflow-scrolling: touch; + scrollbar-width: thin; + } + + .top-actions > [class*='col-'], + .top-actions > .col-auto, + .top-actions.single-line > [class*='col-'], + .top-actions.single-line > .col-auto { + flex: 0 0 auto; + min-width: 180px; + } + + .top-actions > .col-auto, + .top-actions.single-line > .col-auto { + min-width: auto; + } + + .table-area, + .table-scroll, + .table-wrap { + min-width: 0; + overflow: auto; + -webkit-overflow-scrolling: touch; + } + + .q-table__middle { + overflow: auto !important; + -webkit-overflow-scrolling: touch; + } + + .sticky-bar .q-btn, + .page-header .q-btn, + .save-toolbar .q-btn { + min-height: 30px; + font-size: 12px; + padding: 4px 8px; + } +} + +@media (max-width: 1024px) and (orientation: landscape) { + .filters-panel, + .local-filter-bar { + max-height: 40vh; + overflow-y: auto; + overflow-x: hidden; + } + + .sticky-bar { + padding: 4px 6px !important; + } + + .q-table__middle { + max-height: calc(100vh - 180px) !important; + } +} diff --git a/ui/src/pages/statementofaccount.vue b/ui/src/pages/statementofaccount.vue index 6dd7c05..b9b8a92 100644 --- a/ui/src/pages/statementofaccount.vue +++ b/ui/src/pages/statementofaccount.vue @@ -1,7 +1,11 @@