From cc77a1941a16f781f8c18180d73411b1fbe5f84b Mon Sep 17 00:00:00 2001 From: BTMS2 Date: Tue, 6 May 2025 16:28:49 +0800 Subject: [PATCH] update carbon dlm semakanbillplz --- resources/views/pembida/semakanbillplz.blade.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/resources/views/pembida/semakanbillplz.blade.php b/resources/views/pembida/semakanbillplz.blade.php index 4b3133ee..168a4bfa 100644 --- a/resources/views/pembida/semakanbillplz.blade.php +++ b/resources/views/pembida/semakanbillplz.blade.php @@ -55,12 +55,16 @@ {{ number_format($resit->total_payment, 2) }} {{ \Carbon\Carbon::parse($resit->paid_at)->format('d/m/Y H:i') }} -
- @csrf - - - -
+ @if (\Carbon\Carbon::parse($resit->paid_at)->isSameDay(\Carbon\Carbon::today())) +
+ @csrf + + + +
+ @else + Tarikh bukan hari ini + @endif @endforeach