diff --git a/app/Classes/Modules/Orders/Services/ChecksIfOrderNumberExists.php b/app/Classes/Modules/Orders/Services/ChecksIfOrderNumberExists.php index 701d6167..559d5385 100644 --- a/app/Classes/Modules/Orders/Services/ChecksIfOrderNumberExists.php +++ b/app/Classes/Modules/Orders/Services/ChecksIfOrderNumberExists.php @@ -21,7 +21,7 @@ class ChecksIfOrderNumberExists $this->repository = $repository; } - public function execute(int $orderNumber): bool { + public function execute(string $orderNumber): bool { return $this->repository->where('reference', $orderNumber)->exists(); } diff --git a/resources/assets/vue/components/orders/sections/DeliveryOrdersTableSectionComponent.vue b/resources/assets/vue/components/orders/sections/DeliveryOrdersTableSectionComponent.vue index 47230b24..eb424fc9 100644 --- a/resources/assets/vue/components/orders/sections/DeliveryOrdersTableSectionComponent.vue +++ b/resources/assets/vue/components/orders/sections/DeliveryOrdersTableSectionComponent.vue @@ -30,6 +30,7 @@