allowance Deduction
This commit is contained in:
parent
1538e91e5a
commit
64495523aa
|
|
@ -1,6 +1,6 @@
|
|||
<app-loading-panel></app-loading-panel>
|
||||
<div class="col-12">
|
||||
<kendo-grid [data]="adparameters"
|
||||
<kendo-grid [data]="adparameters" class="grid-header-nowrap grid-cell-wrap"
|
||||
(add)="addHandler()"
|
||||
|
||||
(edit)="editHandler($event)">
|
||||
|
|
@ -17,14 +17,14 @@
|
|||
|
||||
<kendo-grid-column field="allowDeductName" title="Allowance/Deduction" width="20%">
|
||||
</kendo-grid-column>
|
||||
<kendo-grid-column field="gradeNames" title="Grades" width="45%">
|
||||
<kendo-grid-column field="gradeNames" title="Grades" width="40%">
|
||||
</kendo-grid-column>
|
||||
<kendo-grid-column field="periodicity" title="Periodicity" width="10%">
|
||||
<ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
|
||||
{{preodicityString(rowIndex)}}
|
||||
</ng-template>
|
||||
</kendo-grid-column>
|
||||
<kendo-grid-column field="isTaxable" title="Taxable ?" width="5%">
|
||||
<kendo-grid-column field="isTaxable" title="Taxable ?" width="10%">
|
||||
<ng-template kendoGridCellTemplate let-dataItem>
|
||||
{{dataItem.isTaxable ? 'Yes' : 'No'}}
|
||||
</ng-template>
|
||||
|
|
|
|||
|
|
@ -60,7 +60,8 @@ kendo-numerictextbox{
|
|||
/* the four check boxes in two even columns, starting under the inputs (label width + gap) */
|
||||
.adp-checks {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
/* two columns while they fit, one column when the section gets narrow */
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 8px 12px;
|
||||
margin: 4px 0 0 120px;
|
||||
padding: 10px 12px;
|
||||
|
|
@ -69,16 +70,25 @@ kendo-numerictextbox{
|
|||
background: #fafbfc;
|
||||
}
|
||||
|
||||
/* a long label wraps inside its own column instead of running out of the box */
|
||||
.adp-check {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
gap: 6px;
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.adp-check input {
|
||||
flex: 0 0 auto;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.adp-check .k-checkbox-label {
|
||||
margin: 0;
|
||||
min-width: 0;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
/* the tab panels on this page are empty (only the headers are used), so drop their padding */
|
||||
|
|
|
|||
|
|
@ -9,6 +9,18 @@
|
|||
padding: 0 !important;
|
||||
}
|
||||
|
||||
// Opt-in: keep every column title of a grid on one line (overrides the wrapping default above).
|
||||
.k-grid.grid-header-nowrap .k-column-title {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
// Opt-in: body cell values wrap inside their column, even a long value with no spaces
|
||||
// (e.g. "AVP,SPO,PO,FAVP,...").
|
||||
.k-grid.grid-cell-wrap .k-grid-content td {
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
// Compact "dashboard widget" grid header variant (ESS dashboards), scoped under .dashboard-card
|
||||
// so it doesn't change the app-wide default .k-grid-header color set in styles.scss.
|
||||
.dashboard-card .k-grid-header {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"version": "20261118-01",
|
||||
"buildTime": "2026-11-18T04:58:16.4380254Z"
|
||||
"version": "20261118-02",
|
||||
"buildTime": "2026-11-18T08:51:48.7258631Z"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user