diff --git a/src/app/deposits/daily-transaction-entry/apply-dds-receipt-dialog/apply-dds-receipt-dialog.component.scss b/src/app/deposits/daily-transaction-entry/apply-dds-receipt-dialog/apply-dds-receipt-dialog.component.scss index 37ec50b55..fc423f722 100644 --- a/src/app/deposits/daily-transaction-entry/apply-dds-receipt-dialog/apply-dds-receipt-dialog.component.scss +++ b/src/app/deposits/daily-transaction-entry/apply-dds-receipt-dialog/apply-dds-receipt-dialog.component.scss @@ -56,12 +56,13 @@ flex-shrink: 0; } +// A ticked day or voucher, in the screen's own green rather than the shared sheet's blue. .option-picked { - border-color: #2563eb !important; - background: #eff6ff !important; + border-color: #0f766e !important; + background: #e6f4ee !important; .option-check { - color: #2563eb; + color: #0f766e; } } @@ -93,3 +94,76 @@ border-radius: 6px; background: #f8fafc; } + +// ── Compact density ────────────────────────────────────────────────────────────────────────────────── +// A step smaller than the sheet it shares, for this screen only: the shared sheet is sized in rem for +// Apply Additional Shares and is left alone, so the whole dialog is scaled here instead. Nothing in it +// is an overlay, so the scaling cannot throw a popup out of place. +.dialog-wrapper { + zoom: 0.88; +} + +// ── The Daily Transaction screen's colours ─────────────────────────────────────────────────────────── +// The shared sheet is indigo and blue, for Apply Additional Shares. This dialog opens from a screen +// drawn in green and teal, so it takes that palette here - the shared sheet is left as it is, and these +// rules only state what differs from it. +$page-teal: #0f766e; +$page-dark: #0f4f3c; +$page-soft: #e6f4ee; +$page-border: #b7ddd0; + +.dialog-header { + background: linear-gradient(135deg, $page-dark 0%, $page-teal 70%, #1f7a5c 100%); +} + +.sc-card { + border-color: $page-border; +} + +.slot-step { + background: linear-gradient(135deg, $page-dark 0%, $page-teal 100%); +} + +.slot-search { + border-color: $page-border; + background: $page-soft; + color: $page-teal; + + &:hover { + background: $page-teal; + border-color: $page-teal; + color: #fff; + box-shadow: 0 2px 8px rgb(15 118 110 / 25%); + } +} + +.option { + &:hover { + border-color: $page-teal; + background: $page-soft; + box-shadow: 0 2px 6px rgb(15 118 110 / 10%); + } + + &:hover .option-radio { + border-color: $page-teal; + } +} + +.option-info:hover { + color: $page-teal; + border-color: $page-teal; + background: $page-soft; +} + +.gl-table tbody tr:hover { + background: $page-soft; +} + +.dialog-actions [mat-flat-button][color='primary']:not([disabled]) { + background: linear-gradient(135deg, $page-teal 0%, $page-dark 100%) !important; + box-shadow: 0 2px 8px rgb(15 118 110 / 28%) !important; + + &:hover { + box-shadow: 0 4px 14px rgb(15 118 110 / 40%) !important; + } +} diff --git a/src/app/deposits/daily-transaction-entry/collections-dialog/collections-dialog.component.html b/src/app/deposits/daily-transaction-entry/collections-dialog/collections-dialog.component.html new file mode 100644 index 000000000..c9aabee61 --- /dev/null +++ b/src/app/deposits/daily-transaction-entry/collections-dialog/collections-dialog.component.html @@ -0,0 +1,78 @@ + + +
{{ data.agentName }} - written down and not yet handed in
+Reading this agent's entries...
+ } @else if (entries.length === 0) { +{{ data.agentName }} has nothing outstanding up to this date.
+ } @else { ++ The cash and its receipts are under Agent Tran. Click a line to see that customer's account. +
+ } ++ An agent's round - what was collected, the cash handed in and applied - and transfers between accounts. +
+