Adds a dummy-data summary report (Opening/Credit/Debit/Closing) under Sub Ledger > Cash / Clearing / Transfer, with Cash, Transfer (GL-wise), Clearing and Digital (RTGS/NEFT/UPI/ATM/NACH) tabs plus a transaction-details drill down. Credit/Debit/Closing are always derived from the transaction lines so the summary and detail views can never drift apart. Head Office logins (officeId 1 or office name containing "head office") get a branch switcher across two demo branches plus a consolidated view with a branch-wise break-up; branch-level logins see only their own office's data. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
74 lines
1.2 KiB
SCSS
74 lines
1.2 KiB
SCSS
/**
|
|
* Copyright since 2025 Mifos Initiative
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
.cctr-tabs {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.cctr-total-row {
|
|
td {
|
|
background: #f1f5f9;
|
|
font-weight: 800;
|
|
border-top: 2px solid #cbd5e1;
|
|
border-bottom: none;
|
|
color: #0f172a;
|
|
}
|
|
}
|
|
|
|
.cctr-grand-summary {
|
|
display: flex;
|
|
background: #fff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
|
|
&__item {
|
|
flex: 1;
|
|
padding: 14px 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
border-right: 1px solid #e2e8f0;
|
|
|
|
&:last-child {
|
|
border-right: none;
|
|
}
|
|
}
|
|
|
|
&__label {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.07em;
|
|
color: #64748b;
|
|
}
|
|
|
|
&__value {
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
font-variant-numeric: tabular-nums;
|
|
color: #0f172a;
|
|
}
|
|
}
|
|
|
|
.cctr-subtext {
|
|
font-size: 11px;
|
|
color: #94a3b8;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.cctr-branch-row {
|
|
cursor: pointer;
|
|
|
|
&:hover td {
|
|
background: #eff6ff;
|
|
}
|
|
}
|