mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
debug invoice
This commit is contained in:
+1
@@ -128,6 +128,7 @@ class CreateShippingInvoiceTransactionLogic extends AbstractControllerLogic
|
||||
$state_select = '';
|
||||
|
||||
$segment_price = $connection->segments()->whereHas('constants')->get()->map(function($segment){
|
||||
dd($segment->constants()->first()->value);
|
||||
return (float) $segment->constants()->first()->value[0];
|
||||
})->sort()->first();
|
||||
$segment_price = $segment_price ? $segment_price : 0;
|
||||
|
||||
Reference in New Issue
Block a user