@extends('layouts.master') @section('title') billing @endsection @section('css') @endsection @section('content') {{-- @component('components.breadcrumb') @slot('li_1') Dashboard @endslot @slot('title') Finance @endslot @endcomponent --}}

Create Invoice

@if (session('status')) @endif @if (session('error'))
@endif
@csrf
@error('due_date')
{{ $message }}
@enderror
@error('status')
{{ $message }}
@enderror
@error('amount')
{{ $message }}
@enderror
@if(old('products')) @foreach(old('products') as $key => $product) @endforeach @else @endif
# Product Details
Rate {{--
--}}
Quantity Amount
{{ $key }}
@if($errors->has('products.' . $key . '.name'))
{{ $errors->first('products.' . $key . '.name') }}
@endif
@if($errors->has('products.' . $key . '.rate'))
{{ $errors->first('products.' . $key . '.rate') }}
@endif
@if($errors->has('products.' . $key . '.quantity'))
{{ $errors->first('products.' . $key . '.quantity') }}
@endif
Delete
1
Please enter a product name
Please enter a rate
Please enter quantity
Delete
Add Item
Sub Total
Total Amount
@endsection @section('script') {{-- --}} @endsection