From c770d5d80eca5c765e479e2c82e6f2773be02769 Mon Sep 17 00:00:00 2001 From: Nicolas Demangeat Date: Mon, 29 Jul 2024 15:20:57 +0200 Subject: [PATCH] feat: you can set the amout by 0.5hours now, improve display in invoice show blade --- resources/views/bo/pages/invoices/show.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/bo/pages/invoices/show.blade.php b/resources/views/bo/pages/invoices/show.blade.php index 2288e51..283e992 100644 --- a/resources/views/bo/pages/invoices/show.blade.php +++ b/resources/views/bo/pages/invoices/show.blade.php @@ -56,9 +56,9 @@ @foreach ($invoiceModel->tasks as $task) {!! nl2br($task['desc']) !!} - {{ $task['type'] }} + {{ \App\Enums\Invoices\TaskTypeEnum::make($task['type'])->label() }} {{ $task['days'] }} - {{ $task['amount'] }} + {{ $task['amount'] }}€ @endforeach @@ -67,7 +67,7 @@ {{ Str::ucfirst(__('validation.attributes.total')) }} - {{ $invoiceModel->total }} + {{ $invoiceModel->total }}€ {{ Str::ucfirst(__('validation.attributes.total_days')) }}