mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
auto generate invoices
This commit is contained in:
@@ -750,7 +750,6 @@ Route::get('/generate/invoices', function(){
|
||||
|
||||
$postCodes = \App\Models\SegmentConstant::whereIn('reference', ['CENTER_POSTCODE', 'OUTSTATION_POSTCODE'])->get()->pluck('value')->flatten();
|
||||
|
||||
dump($deliveryAddress->postcode, $postCodes->toArray());
|
||||
if(!!$billingAddress && in_array($deliveryAddress->postcode, $postCodes->toArray())){
|
||||
echo 'generating...';
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user