NASER remove tahesab health check for orders :/

This commit is contained in:
gholak tala
2026-03-16 10:16:57 +00:00
parent df4972eceb
commit ddedb856b1
@@ -30,9 +30,7 @@ class SingleOrderController extends Controller
public function store(Request $request)
{
$goldir = Cnt::where('key', 'goldir_closed')->first();
$tahesab = new TahesabController();
$healthCheck = $tahesab->healthCheck();
if(isset($goldir) && $goldir['value'] == "true" && $healthCheck){
if(isset($goldir) && $goldir['value'] == "true"){
throw new UnprocessableEntityHttpException('عدم ارائه سرویس.');
}