Adds a customer-account-scoped Cheque Book view under Clerk > Account Facilities (list + leaf detail, with stop-payment/report-lost/mark-used/ return actions), reachable via a new hover dropdown on the Account Facilities nav item. Also refreshes the Account Facilities page layout, and carries over a few chequebook service/detail-dialog fixes from the back-office module (used-leaf display, leaf-lookup dialog polish). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
131 lines
1.9 KiB
SCSS
131 lines
1.9 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/.
|
|
*/
|
|
|
|
.container {
|
|
padding: 16px;
|
|
max-width: 700px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.page-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.search-card {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.search-row {
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: flex-start;
|
|
|
|
mat-form-field {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
.result-card {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.result-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.series-tag {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
color: rgb(0 0 0 / 60%);
|
|
}
|
|
|
|
.multi-match-note {
|
|
margin-bottom: 16px;
|
|
color: #a16207;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 12px 24px;
|
|
|
|
div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.k {
|
|
font-size: 0.72rem;
|
|
text-transform: uppercase;
|
|
color: rgb(0 0 0 / 50%);
|
|
}
|
|
|
|
.warn-note {
|
|
grid-column: 1 / -1;
|
|
color: #a16207;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
.pill {
|
|
font-size: 11px;
|
|
padding: 2px 8px;
|
|
border-radius: 6px;
|
|
font-weight: 600;
|
|
|
|
&.big {
|
|
font-size: 14px;
|
|
padding: 6px 14px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
&.ok {
|
|
background: #dff5e8;
|
|
color: #28c07a;
|
|
}
|
|
|
|
&.used {
|
|
background: #e3edfd;
|
|
color: #1976d2;
|
|
}
|
|
|
|
&.bad {
|
|
background: #fde3e3;
|
|
color: #d32f2f;
|
|
}
|
|
|
|
&.warn {
|
|
background: #fff3cd;
|
|
color: #a16207;
|
|
}
|
|
|
|
&.neutral {
|
|
background: #e0e0e0;
|
|
color: #757575;
|
|
}
|
|
|
|
&.returned {
|
|
background: #f3e8fd;
|
|
color: #9333ea;
|
|
}
|
|
}
|
|
|
|
.empty-state {
|
|
padding: 24px;
|
|
text-align: center;
|
|
color: rgb(0 0 0 / 50%);
|
|
}
|