mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
billing fix up
This commit is contained in:
@@ -17,7 +17,7 @@ class DoesNotHaveTransactionType implements Filter
|
||||
return $builder->whereDoesntHave('transactions', function (Builder $query) use($value) {
|
||||
$query->where('type', $value);
|
||||
})->whereHas('containers', function ($query){
|
||||
return $query->whereDate('loading_date', '>=', Carbon::parse('01-01-2022'));
|
||||
return $query->whereDate('loading_date', '>=', Carbon::parse('01-09-2022'));
|
||||
});
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -118,7 +118,7 @@ class CreateShippingInvoiceTransactionLogic extends AbstractControllerLogic
|
||||
$center_postcode_constant = $this->fetchesSegmentConstant->execute(['segment_id' => 1, 'reference' => SegmentConstants::CENTER_POSTCODE]);
|
||||
$outstation_postcode_constant = $this->fetchesSegmentConstant->execute(['segment_id' => 1, 'reference' => SegmentConstants::OUTSTATION_POSTCODE]);
|
||||
|
||||
$noMinimumCharge = $connection->segments()->where('segments.id', 7)->first();
|
||||
$noMinimumCharge = $connection->segments()->where('segments.id', 2)->first();
|
||||
|
||||
$base_price = 0;
|
||||
$warehouse_rate = 0;
|
||||
|
||||
Reference in New Issue
Block a user