fix pending_orders table header

This commit is contained in:
edmondlang
2024-08-07 13:13:26 +08:00
parent ea06152dbf
commit 764f242e87
+4
View File
@@ -411,9 +411,11 @@ Route::get('/pending_orders', function(){
echo '<th>Booking</th>';
echo '<th>Payment Currency</th>';
echo '<th>Payment Amount</th>';
echo '<th></th>';
echo '<th>Customer</th>';
echo '<th>Booking Currency</th>';
echo '<th>Booking Amount</th>';
echo '<th></th>';
echo '<th>Service</th>';
echo '<th>Payment Updated</th>';
echo '<th>Cust Supplier Acc Type</th>';
@@ -442,9 +444,11 @@ Route::get('/pending_orders', function(){
echo '<td>'.$booking->marking.'</td>';
echo '<td>'.$payment->currency->short_code.'</td>';
echo '<td>'.number_format(bcsub($payment->amount, $refunds, 7), 5, '.', '').'</td>';
echo '<td></td>';
echo '<td>'.$booking->company->reference.'</td>';
echo '<td>'.$payment->original_currency->short_code.'</td>';
echo '<td>'.number_format(bcsub($payment->original_amount, $original_refunds, 7), 5, '.', '').'</td>';
echo '<td></td>';
echo '<td>'.$booking->service->name.'</td>';
echo '<td>'.$payment->updated_at->diffForHumans().'</td>';
echo '<td>'.$bankType.'</td>';