update laporan peti besi
This commit is contained in:
@@ -127,10 +127,12 @@ class OutstandingController extends Controller
|
||||
if (!empty($endDate)) {
|
||||
$queryAll->where('tarikh', '=', $endDate);
|
||||
}
|
||||
$record = $queryAll->first();
|
||||
|
||||
return $record
|
||||
? $record->toArray()
|
||||
: ['bakieod' => 0];
|
||||
|
||||
return array_merge(
|
||||
$queryAll->first()->toArray()
|
||||
);
|
||||
}, $active_cawangan_db_connection);
|
||||
|
||||
// Combine data with branch info
|
||||
|
||||
Reference in New Issue
Block a user