feat: you can set the amout by 0.5hours now, improve display in invoice show blade

This commit is contained in:
Nicolas Demangeat 2024-07-29 15:20:57 +02:00
parent e7c1acf8a4
commit c770d5d80e

View file

@ -56,9 +56,9 @@
@foreach ($invoiceModel->tasks as $task)
<tr class="@if (!$loop->last) border-bottom @endif list-item">
<td class="text-center align-middle">{!! nl2br($task['desc']) !!}</td>
<td class="text-center align-middle">{{ $task['type'] }}</td>
<td class="text-center align-middle">{{ \App\Enums\Invoices\TaskTypeEnum::make($task['type'])->label() }}</td>
<td class="text-center align-middle">{{ $task['days'] }}</td>
<td class="text-center align-middle">{{ $task['amount'] }}</td>
<td class="text-center align-middle">{{ $task['amount'] }}€</td>
</tr>
@endforeach
</tbody>
@ -67,7 +67,7 @@
</tr>
<tr class="border-bottom list-item">
<td class="text-center align-middle">{{ Str::ucfirst(__('validation.attributes.total')) }}</td>
<td class="text-center align-middle">{{ $invoiceModel->total }}</td>
<td class="text-center align-middle">{{ $invoiceModel->total }}€</td>
</tr>
<tr class="border-bottom list-item">
<td class="text-center align-middle">{{ Str::ucfirst(__('validation.attributes.total_days')) }}</td>