diff --git a/resources/views/business/pages/financial-operations/labor-expenses.blade.php b/resources/views/business/pages/financial-operations/labor-expenses.blade.php index e094cd81..7344bc87 100644 --- a/resources/views/business/pages/financial-operations/labor-expenses.blade.php +++ b/resources/views/business/pages/financial-operations/labor-expenses.blade.php @@ -221,22 +221,27 @@ } .labor-expense-table thead tr:first-child th[data-labor-group="base"] { + background: var(--labor-group-base); box-shadow: inset 0 3px 0 #548235; } .labor-expense-table thead tr:first-child th[data-labor-group="original"] { + background: var(--labor-group-original); box-shadow: inset 0 3px 0 #7f7f7f; } .labor-expense-table thead tr:first-child th[data-labor-group="fund"] { + background: var(--labor-group-fund); box-shadow: inset 0 3px 0 #70ad47; } .labor-expense-table thead tr:first-child th[data-labor-group="salary_parttime"] { + background: var(--labor-group-salary-parttime); box-shadow: inset 0 3px 0 #ed7d31; } .labor-expense-table thead tr:first-child th[data-labor-group="settlement"] { + background: var(--labor-group-settlement); box-shadow: inset 0 3px 0 #bf9000; } diff --git a/tests/Feature/Business/LaborExpensePageAccessTest.php b/tests/Feature/Business/LaborExpensePageAccessTest.php index a46463b4..b632e0f6 100644 --- a/tests/Feature/Business/LaborExpensePageAccessTest.php +++ b/tests/Feature/Business/LaborExpensePageAccessTest.php @@ -149,6 +149,14 @@ class LaborExpensePageAccessTest extends FeatureTestCase 'salary_parttime' => 'salary-parttime', 'settlement' => 'settlement', ] as $group => $variable) { + $this->assertMatchesRegularExpression( + '/\.labor-expense-table thead tr:first-child th\[data-labor-group="' . + $group . + '"\]\s*\{\s*background:\s*var\(--labor-group-' . + $variable . + '\);/s', + $html + ); $this->assertMatchesRegularExpression( '/\.labor-expense-table thead tr:last-child th\[data-labor-group="' . $group .