From: Vincent Vanwaelscappel Date: Mon, 6 May 2024 16:42:16 +0000 (+0200) Subject: wip #6895 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2b65569c6fcaba167166d91795512424567d3aff;p=bastide-resah.git wip #6895 --- diff --git a/app/Http/Controllers/FluidbookController.php b/app/Http/Controllers/FluidbookController.php index 3b05173..adaa338 100644 --- a/app/Http/Controllers/FluidbookController.php +++ b/app/Http/Controllers/FluidbookController.php @@ -141,6 +141,8 @@ class FluidbookController extends Controller $user->notify(new ResahNotification(ResahNotification::QUOTE_REQUEST_SENT, $order)); User::withoutGlobalScopes()->find(3)->notify(new ResahNotification(ResahNotification::QUOTE_REQUEST, $order)); + return response()->json(['success' => 'ok', 'order' => $order->id, 'total' => $total])->setStatusCode(200); + } protected static function formatNumber($n, $suffix = ' €')