@extends('frontend.layouts.app3') @section('seo') Form | Muhlach Bakery @endsection @section('content') @php $cart_total = 0; @endphp @if (session('cart')) @foreach (session('cart') as $cart) @php $cart_total += $cart['amount'] * $cart['price']; @endphp @endforeach @endif
Form
@foreach ($errors->all() as $error) {{ $error }} @endforeach
@csrf {{-- --}} @if(session()->get('service_type') != 'Delivery') @else @endif @foreach (session('cart') as $cart) @endforeach @foreach (session('cart') as $cart) @endforeach {{-- @foreach (session('cart') as $cart) @endforeach --}}
@error('full_name') {{ $message }} @enderror
@error('email') {{ $message }} @enderror
@error('phone') {{ $message }} @enderror
@error('card_number') {{ $message }} @enderror
@error('exp_month') {{ $message }} @enderror
@error('exp_year') {{ $message }} @enderror
@error('cvc') {{ $message }} @enderror
@error('line1') {{ $message }} @enderror
@error('city') {{ $message }} @enderror
@error('state') {{ $message }} @enderror
@error('postal_code') {{ $message }} @enderror
@foreach (session('cart') as $cart) @endforeach
@endsection