Update
This commit is contained in:
@@ -56,7 +56,7 @@ class CheckoutController extends Controller
|
||||
$shipping = $subtotal > 50 ? 0.00 : 4.95;
|
||||
$total = $subtotal + $shipping;
|
||||
|
||||
$orderNumber = 'J3D-' . date('Y') . '-' . strtoupper(Str::random(6));
|
||||
$orderNumber = 'J3D-'.date('Y').'-'.strtoupper(Str::random(6));
|
||||
|
||||
$order = Order::create([
|
||||
'order_number' => $orderNumber,
|
||||
|
||||
Reference in New Issue
Block a user