feat(47-shipment-created-automation): immediate shipment automation trigger
Phase 47 complete: - add event shipment.created triggered immediately after shipment creation - add action update_shipment_status with real-change guard and chain-safe emit - update automation UI/options, docs, and PAUL state artifacts
This commit is contained in:
@@ -252,7 +252,8 @@ return static function (Application $app): void {
|
||||
new OrdersRepository($app->db()),
|
||||
$companySettingsRepository,
|
||||
$receiptRepository,
|
||||
$receiptConfigRepository
|
||||
$receiptConfigRepository,
|
||||
$shipmentPackageRepositoryForOrders
|
||||
);
|
||||
$printJobRepository = new PrintJobRepository($app->db());
|
||||
$ordersController = new OrdersController($template, $translator, $auth, $app->orders(), $shipmentPackageRepositoryForOrders, $receiptRepository, $receiptConfigRepository, $emailSendingService, $emailTemplateRepository, $emailMailboxRepository, $app->basePath('storage'), $printJobRepository);
|
||||
@@ -308,6 +309,7 @@ return static function (Application $app): void {
|
||||
$companySettingsRepository,
|
||||
$shipmentProviderRegistry,
|
||||
$shipmentPackageRepository,
|
||||
$automationService,
|
||||
$app->basePath('storage'),
|
||||
$carrierDeliveryMappings,
|
||||
$printJobRepository
|
||||
|
||||
Reference in New Issue
Block a user