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