all customer from pargar fixing 3

This commit is contained in:
2026-07-22 01:05:00 +03:30
parent 01031e9e01
commit 133f4156c6
13 changed files with 214 additions and 59 deletions
@@ -400,6 +400,10 @@ class CustomerController extends SuperController
public function cardChecker(Request $request){
if (!app(ConfigService::class)->isJibitEnabled()) {
throw new UnprocessableEntityHttpException('سرویس احراز هویت جیبیت غیرفعال است.');
}
if (strlen($request->cart_number) != 16) {
throw new UnprocessableEntityHttpException('شماره کارت اشتباه می‌باشد.');
}