@extends('layouts.master') @section('content') @if (session('status')) × {{ session('status') }} @endif @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @if (Session::has('success')) {{ Session::get('success')['msg'] }} @endif Add Sale Order @csrf Customer Select Customer @foreach($customers as $key => $customer) {{++$key}}. {{$customer->name}} ({{ $customer->phone }}) @endforeach Add New customer Drivery Date Product Name Quantity Sale Price Total Amount Add Select @foreach($products as $product) remaining_quantity == 0 ? 'disabled' : '' }} data-sale_price={{ $product->sale_price }} value="{{ $product->id }}"> {{ $product->name }} - {{ $product->product_number }} ({{ $product->remaining_quantity }}) @endforeach Total Amount Paid Payment Method Select Payment Method Cash Online cheque @push('footer-assets') @endpush @endsection