From bfda43022a82260784668e0c0616f06a82f94c6d Mon Sep 17 00:00:00 2001 From: Afiq Hamzah Date: Mon, 20 May 2024 11:22:38 +0800 Subject: [PATCH] Add default value empty string if no calculation version is assigned on cawangan --- resources/views/tetapan/payable-ujrah-branches.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/tetapan/payable-ujrah-branches.blade.php b/resources/views/tetapan/payable-ujrah-branches.blade.php index 3e7f6ec..a4a8494 100644 --- a/resources/views/tetapan/payable-ujrah-branches.blade.php +++ b/resources/views/tetapan/payable-ujrah-branches.blade.php @@ -69,7 +69,7 @@
@php - $selected = $cawangan->cawangan_information->version; + $selected = $cawangan->cawangan_information->version ?? ''; @endphp