@extends('layouts.app') @section('content') @csrf Back to Invoice List Preview Save Draft {{-- Delete --}} Invoice Details Customer Name @foreach ($clients as $client) id == old('client_id') ? 'selected' : '' }} value="{{ $client->id }}"> {{ $client->user->name }} @endforeach Category @foreach ($categories as $category) id == old('category_id') ? 'selected' : '' }} value="{{ $category->id }}">{{ $category->name }} @endforeach Select Recurring Invoice @error('start_from') {{ $message }} @enderror @error('duration') {{ $message }} @enderror Items Details Add Item @php $invoiceItems = old('descriptions', ['']); // Set the desired number of items @endphp @for ($i = 0; $i < count($invoiceItems); $i++) Item ({{ $i + 1 }}): Item Description @error('descriptions.' . $i) {{ $message }} @enderror Price @error('prices.' . $i) {{ $message }} @enderror Quantity @error('quantities.' . $i) {{ $message }} @enderror Total @endfor Invoice Details @error('invoice_id') {{ $message }} @enderror Invoice NO : #{{ $invoice_number }} Due Date : @error('due_date') {{ $message }} @enderror Invoice From @error('invoice_from') {{ $message }} @enderror DigiSplix, LLC 5900 Balcones Dr #15419 Austin, Texas 78731, United States Invoice To @error('invoice_to') {{ $message }} @enderror {{ optional($clients->first())->user->name ?? '' }} More Fields Add Terms & Conditions Add Notes Summary Total Amount $0 Save Invoice
Total Amount
$0