mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-23 14:33:59 +00:00
debug update group error
This commit is contained in:
+8
-1
@@ -205,7 +205,14 @@ Route::get('/supplier/pi/export', function(){
|
||||
$booking = $purchaseOrder = $transaction->owner->owner;
|
||||
$purchaseOrder = $booking->transactions()->where('type', TransactionType::PURCHASE_ORDER)->where('status', ApprovalStatus::APPROVED)->first();
|
||||
if(!$purchaseOrder) {
|
||||
echo 'warning, booking ref.'.$booking->marking.' doesn\'t have purchase order';
|
||||
echo '<tr>';
|
||||
echo '<td>-</td>';
|
||||
echo '<td style="color: red">warning, booking ref.'.$booking->marking.' doesn\'t have purchase order</td>';
|
||||
echo '<td>0</td>';
|
||||
echo '<td>0</td>';
|
||||
echo '<td>0</td>';
|
||||
echo '<td>'.$booking->marking.'</td>';
|
||||
echo '</tr>';
|
||||
continue;
|
||||
}
|
||||
foreach ($purchaseOrder->transactionDetails as $item){
|
||||
|
||||
Reference in New Issue
Block a user