From 0e673d06ffa3fb901b1fafdc05bedc78dc81836e Mon Sep 17 00:00:00 2001 From: Mohaimen Hasan Date: Mon, 23 Nov 2026 13:29:07 +0600 Subject: [PATCH] individual warning --- ...overtime-eligible-list-entry.component.css | 77 +++++++++++++++++ ...vertime-eligible-list-entry.component.html | 64 +++++++------- .../overtime-process/ot-process.component.css | 39 +++++++++ .../ot-process.component.html | 55 ++++++------ .../term-parameters.component.css | 9 ++ .../term-parameters.component.html | 83 ++++++++----------- ...l-allowance-deduction-input.component.scss | 4 + 7 files changed, 222 insertions(+), 109 deletions(-) diff --git a/HRM.UI/ClientApp/src/app/payroll-ot/export-overtime-eligible-list-entry/export-overtime-eligible-list-entry.component.css b/HRM.UI/ClientApp/src/app/payroll-ot/export-overtime-eligible-list-entry/export-overtime-eligible-list-entry.component.css index e69de29..ad5f40e 100644 --- a/HRM.UI/ClientApp/src/app/payroll-ot/export-overtime-eligible-list-entry/export-overtime-eligible-list-entry.component.css +++ b/HRM.UI/ClientApp/src/app/payroll-ot/export-overtime-eligible-list-entry/export-overtime-eligible-list-entry.component.css @@ -0,0 +1,77 @@ +/* Export Overtime Eligible List: Process Month, file format and Generate in one panel (palette colours) */ +.eol-panel { + display: flex; + flex-wrap: wrap; + align-items: flex-end; + gap: 16px 24px; + padding: 16px; + background: var(--gh-tb); + border: 1px solid var(--gh-bo); + border-left: 4px solid var(--gh-btn); + border-radius: 10px; +} + +.eol-field { + display: flex; + flex-direction: column; + gap: 6px; + width: 240px; + max-width: 100%; +} + +.eol-field ::ng-deep kendo-label, +.eol-field ::ng-deep .k-label { + font-size: 12px; + font-weight: 600; + letter-spacing: 0.04em; + text-transform: uppercase; + color: var(--gh-muted); +} + +.eol-format { + display: flex; + flex-direction: column; + gap: 6px; + min-width: 0; +} + +.eol-format__label { + display: inline-flex; + align-items: center; + gap: 6px; + font-size: 12px; + font-weight: 600; + letter-spacing: 0.04em; + text-transform: uppercase; + color: var(--gh-muted); +} + +.eol-format__label i { + color: var(--gh-xls); +} + +.eol-format__cols { + display: flex; + flex-wrap: wrap; + gap: 6px; + min-height: 34px; + align-items: center; +} + +.eol-chip { + padding: 4px 12px; + border-radius: 999px; + font-size: 13px; + font-weight: 600; + color: var(--gh-lk); + background: var(--gh-th); + border: 1px solid var(--gh-bo); +} + +.eol-actions { + margin-left: auto; +} + +.eol-actions button { + min-width: 140px; +} diff --git a/HRM.UI/ClientApp/src/app/payroll-ot/export-overtime-eligible-list-entry/export-overtime-eligible-list-entry.component.html b/HRM.UI/ClientApp/src/app/payroll-ot/export-overtime-eligible-list-entry/export-overtime-eligible-list-entry.component.html index e7ed5eb..6bd1ba2 100644 --- a/HRM.UI/ClientApp/src/app/payroll-ot/export-overtime-eligible-list-entry/export-overtime-eligible-list-entry.component.html +++ b/HRM.UI/ClientApp/src/app/payroll-ot/export-overtime-eligible-list-entry/export-overtime-eligible-list-entry.component.html @@ -1,37 +1,37 @@ -
-
- - -
-
- - -
+ +
+
+ + + + +
-
- File Format : -
-
- Employee-ID, Employee Name, Term/OT Type -
-
- - +
+ File Format +
+ Employee-ID + Employee Name + Term/OT Type
- +
+ + +
+
diff --git a/HRM.UI/ClientApp/src/app/payroll-ot/overtime-process/ot-process.component.css b/HRM.UI/ClientApp/src/app/payroll-ot/overtime-process/ot-process.component.css index e69de29..f59468c 100644 --- a/HRM.UI/ClientApp/src/app/payroll-ot/overtime-process/ot-process.component.css +++ b/HRM.UI/ClientApp/src/app/payroll-ot/overtime-process/ot-process.component.css @@ -0,0 +1,39 @@ +/* Overtime Process: Process Month on the left, Process / Undo on the right (layout only, palette colours) */ +.otproc-panel { + display: flex; + flex-wrap: wrap; + align-items: flex-end; + gap: 16px 24px; + padding: 16px; + background: var(--gh-tb); + border: 1px solid var(--gh-bo); + border-left: 4px solid var(--gh-btn); + border-radius: 10px; +} + +.otproc-field { + display: flex; + flex-direction: column; + gap: 6px; + width: 240px; + max-width: 100%; +} + +.otproc-field > label { + margin: 0; + font-size: 12px; + font-weight: 600; + letter-spacing: 0.04em; + text-transform: uppercase; + color: var(--gh-muted); +} + +.otproc-actions { + display: flex; + gap: 8px; + margin-left: auto; +} + +.otproc-actions button { + min-width: 120px; +} diff --git a/HRM.UI/ClientApp/src/app/payroll-ot/overtime-process/ot-process.component.html b/HRM.UI/ClientApp/src/app/payroll-ot/overtime-process/ot-process.component.html index 7489582..2f4f6d7 100644 --- a/HRM.UI/ClientApp/src/app/payroll-ot/overtime-process/ot-process.component.html +++ b/HRM.UI/ClientApp/src/app/payroll-ot/overtime-process/ot-process.component.html @@ -1,33 +1,28 @@ -
-
-
-
- -
-
- - - -
-
- - - -
-
+ +
+
+ + + +
-
\ No newline at end of file +
+ + + +
+
diff --git a/HRM.UI/ClientApp/src/app/payroll-ot/term-parameters/term-parameters.component.css b/HRM.UI/ClientApp/src/app/payroll-ot/term-parameters/term-parameters.component.css index e69de29..a189a57 100644 --- a/HRM.UI/ClientApp/src/app/payroll-ot/term-parameters/term-parameters.component.css +++ b/HRM.UI/ClientApp/src/app/payroll-ot/term-parameters/term-parameters.component.css @@ -0,0 +1,9 @@ +/* Overtime Parameterization: a single card around the grid (layout only, palette colours) */ +.otp-card { + margin: 0 0 12px; + padding: 16px; + background: var(--gh-tb); + border: 1px solid var(--gh-bo); + border-radius: 10px; + box-shadow: 0 1px 3px color-mix(in srgb, var(--gh-sb) 8%, transparent); +} diff --git a/HRM.UI/ClientApp/src/app/payroll-ot/term-parameters/term-parameters.component.html b/HRM.UI/ClientApp/src/app/payroll-ot/term-parameters/term-parameters.component.html index 81aafb8..14fd0dc 100644 --- a/HRM.UI/ClientApp/src/app/payroll-ot/term-parameters/term-parameters.component.html +++ b/HRM.UI/ClientApp/src/app/payroll-ot/term-parameters/term-parameters.component.html @@ -1,50 +1,39 @@ -
-
-
-
-
-
- - - - - - - - - - - +
+ + + + + + + + + + + - - - - - - - - - - -
-
-
-
-
-
\ No newline at end of file + + + + + --> + + + + + + + + +
diff --git a/HRM.UI/ClientApp/src/app/payroll/allowance-deduction/individual-allowance-deduction-input/individual-allowance-deduction-input.component.scss b/HRM.UI/ClientApp/src/app/payroll/allowance-deduction/individual-allowance-deduction-input/individual-allowance-deduction-input.component.scss index c569601..dbdc210 100644 --- a/HRM.UI/ClientApp/src/app/payroll/allowance-deduction/individual-allowance-deduction-input/individual-allowance-deduction-input.component.scss +++ b/HRM.UI/ClientApp/src/app/payroll/allowance-deduction/individual-allowance-deduction-input/individual-allowance-deduction-input.component.scss @@ -64,6 +64,10 @@ border-radius: 18px; padding: 16px 20px; box-shadow: $empcard-card-shadow; + margin-bottom: 16px; // gap between the Search, Add New, List and summary cards +} +.iad-card:last-child { + margin-bottom: 0; } .iad-card-header { display: flex; align-items: center; gap: 8px;