Skip to content

Commit

Permalink
#144 Fetch aurora Special Prices for fulfilment customers
Browse files Browse the repository at this point in the history
  • Loading branch information
inikoo committed May 10, 2024
1 parent d4de621 commit a2a25a7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/Actions/SourceFetch/Aurora/FetchAuroraCustomers.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function handle(SourceOrganisationService $organisationSource, int $organ
if($palletsCount>0) {


StoreRentalAgreement::make()->action(
$rentalAgreement=StoreRentalAgreement::make()->action(
$customer->fulfilmentCustomer,
[
'billing_cycle' => RentalAgreementBillingCycleEnum::MONTHLY,
Expand All @@ -80,6 +80,11 @@ public function handle(SourceOrganisationService $organisationSource, int $organ
]
);

$palletsCount= DB::connection('aurora')
->table('Fulfilment Asset Dimension')
->where('Fulfilment Asset Customer Key', $sourceData[1])->count();



}

Expand Down

0 comments on commit a2a25a7

Please sign in to comment.