mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
final-duplicated-invoice-debug
This commit is contained in:
@@ -970,6 +970,7 @@ Route::get('/final-duplicated-invoice-debug', function(){
|
||||
<tr>
|
||||
<th style="border: 1px solid black" >Owner Type</th>
|
||||
<th style="border: 1px solid black" >Owner Id</th>
|
||||
<th style="border: 1px solid black" >Order</th>
|
||||
<th style="border: 1px solid black" >Reveiver</th>
|
||||
<th style="border: 1px solid black" >Transaction type</th>
|
||||
<th style="border: 1px solid black" >Count</th>
|
||||
@@ -981,9 +982,12 @@ foreach ($duplicatedTransactions as $transaction) {
|
||||
|
||||
$duplicatedInvoice = DB::table('transactions')->whereIn('id', $transactionIds)->get();
|
||||
|
||||
$order_reference = $transaction->owner->owner->owner->reference;
|
||||
|
||||
echo '<tr>';
|
||||
echo '<td style="border: 1px solid black">' . $transaction->owner_type . '</td>';
|
||||
echo '<td style="border: 1px solid black">' . $transaction->owner_id . '</td>';
|
||||
echo '<td style="border: 1px solid black">' . $order_reference . '</td>';
|
||||
echo '<td style="border: 1px solid black">' . $transaction->receiver . '</td>';
|
||||
echo '<td style="border: 1px solid black">' . $transaction->type . '</td>';
|
||||
echo '<td style="border: 1px solid black">' . count($transactionIds) . '</td>';
|
||||
|
||||
Reference in New Issue
Block a user