]> _ Git - bastide-resah.git/commitdiff
wip #6895
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 6 May 2024 16:42:16 +0000 (18:42 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 6 May 2024 16:42:16 +0000 (18:42 +0200)
app/Http/Controllers/FluidbookController.php

index 3b0517344adc143067c5342c38a3af5b71d75987..adaa33864836a666efdf2f91a341790ae2f8f594 100644 (file)
@@ -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 = ' €')