refactor(payroll): menyesuaikan tampilan nya
This commit is contained in:
parent
d23de954d6
commit
1ada8a2738
@ -16,10 +16,9 @@
|
||||
</div>
|
||||
|
||||
<div class="mt-6">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-4 mb-4 text-sm">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-4 mb-4 text-sm items-start">
|
||||
@foreach ($payrolls as $payroll)
|
||||
<flux:card class="h-auto">
|
||||
<div class="border rounded-lg p-4 bg-white shadow-sm dark:bg-zinc-900">
|
||||
<div class="flex justify-between items-center mb-3">
|
||||
<div>
|
||||
<flux:heading>{{ $payroll->user->employee->full_name }}</flux:heading>
|
||||
@ -32,7 +31,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 mb-2 text-sm">
|
||||
<div class="grid grid-cols-1 gap-4 mb-2 text-sm">
|
||||
<div>
|
||||
<flux:text>Gaji Pokok</flux:text>
|
||||
<div class="font-medium">{{ currency($payroll->base_salary, 'Rp') }}</div>
|
||||
@ -73,7 +72,6 @@ class="font-bold {{ $item->type->value == \App\Enums\SalaryAdjustmentType::DEDUC
|
||||
<flux:text>Total Gaji</flux:text>
|
||||
<FLux:heading>{{ currency($payroll->total_salary, 'Rp') }}</FLux:heading>
|
||||
</div>
|
||||
</div>
|
||||
</flux:card>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user