JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') {{__('Invoice Edit')}} @endsection @section('breadcrumb') @endsection @push('script-page') @endpush @section('content') {{-- @dd($invoice)--}}
{{ Form::model($invoice, array('route' => array('invoice.update', $invoice->id), 'method' => 'PUT','class'=>'w-100', 'class'=>'needs-validation', 'novalidate')) }}
{{ Form::label('customer_id', __('Customer'),['class'=>'form-label']) }} {{ Form::select('customer_id', $customers,null, array('class' => 'form-control js-select2 ','id'=>'customer','data-url'=>route('invoice.customer'),'required'=>'required')) }}
{{ Form::label('issue_date', __('Issue Date'),['class'=>'form-label']) }}
{{Form::date('issue_date',null,array('class'=>'form-control','id' => 'issue_date_inv','required'=>'required'))}}
{{ Form::label('terms', __('Terms'), ['class' => 'form-label']) }}
{{ Form::select('terms', $terms,$invoice->terms ?? 'net_07',[ 'class' => 'form-control', 'required' => 'required', 'placeholder' => 'Select Terms', 'id' => 'terms' ]) }}
{{ Form::label('due_date', __('Due Date'),['class'=>'form-label']) }}
{{Form::date('due_date',null,array('class'=>'form-control','id' => 'due_date_inv'))}}
{{ Form::label('invoice_number', __('Invoice Number'),['class'=>'form-label']) }}
{{ Form::label('place_supply', __('Place of Supply'),['class'=>'form-label']) }} {{ Form::select('place_supply', $states,null, array('class' => 'form-control js-select2','required'=>'required')) }}
{{ Form::label('ref_number', __('Ref Number'),['class'=>'form-label']) }}
{{ Form::text('ref_number', null, array('class' => 'form-control')) }}
{{ Form::label('subject', __('Subject'),['class'=>'form-label']) }} {{ Form::textarea('subject', null, ['class'=>'form-control','rows'=>'2','placeholder'=>__('Let your customer know what is this invoice for')]) }}
{{--
--}} {{--
--}} {{-- discount_apply==1?'checked':''}}>--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- {{Form::label('sku',__('SKU')) }}--}} {{-- {!!Form::text('sku', null,array('class' => 'form-control','required'=>'required')) !!}--}} {{--
--}} {{--
--}} @if(!$customFields->isEmpty()) {{--
--}} {{--
--}} @include('customFields.formBuilder') {{--
--}} {{--
--}} @endif
{{__('Item Table')}}
{{ Form::hidden('id',null, ['class' => 'form-control id']) }} {{-- {{ Form::hidden('id',null, array('class' => 'form-control id')) }} --}}
{{__('Item Details')}} {{__('Quantity')}} {{__('Price')}} {{__('Discount')}} {{__('Tax')}} {{__('Amount')}}
{{ Form::select('item', $product_services, null, [ 'class' => 'form-select item js-select2', 'data-url' => route('invoice.product'), 'required' => true ]) }} {{ Form::number('quantity', null, [ 'class' => 'form-control quantity', 'required' => true,'min' => '0', 'placeholder' => __('Qty') ]) }} {{ Form::number('price', null, [ 'class' => 'form-control price', 'required' => true,'min' => '0', 'placeholder' => __('Price') ]) }} {{ Form::number('discount', null, [ 'class' => 'form-control discount','min' => '0', 'placeholder' => __('Discount') ]) }} {{ Form::hidden('itemTaxPrice','', ['class'=>'itemTaxPrice']) }} {{ Form::hidden('itemTaxRate','', ['class'=>'itemTaxRate']) }} 0.00
{{ Form::select('item', $product_services,null, array('class' => 'form-control item js-select2','data-url'=>route('invoice.product'))) }}
{{ Form::text('quantity',null, array('class' => 'form-control quantity','required'=>'required','placeholder'=>__('Qty'),'required'=>'required')) }}
{{ Form::text('price',null, array('class' => 'form-control price','required'=>'required','placeholder'=>__('Price'),'required'=>'required')) }} {{\Auth::user()->currencySymbol()}}
{{ Form::text('discount',null, array('class' => 'form-control discount','required'=>'required','placeholder'=>__('Discount'))) }} {{\Auth::user()->currencySymbol()}}
{{ Form::hidden('itemTaxPrice','', ['class'=>'itemTaxPrice']) }} {{ Form::hidden('itemTaxRate','', ['class'=>'itemTaxRate']) }} 0.00 --}} {{-- @can('delete invoice product')--}} {{-- --}} {{-- @endcan--}} {{--
{{ Form::textarea('description', null, ['class'=>'form-control pro_description','rows'=>'2','placeholder'=>__('Description')]) }}
      {{__('Sub Total')}} ({{\Auth::user()->currencySymbol()}}) 0.00
      {{__('Discount')}} ({{\Auth::user()->currencySymbol()}}) 0.00
        {{__('Total Amount')}} ({{\Auth::user()->currencySymbol()}}) 0.00
{{ Form::textarea('customer_notes', 'Thanks for your business.', [ 'class' => 'form-control', 'rows' => 3 ]) }}
{{ Form::textarea('termsconditions', null, [ 'class' => 'form-control', 'rows' => 3, 'placeholder' => __('Enter the terms and conditions of your business to be dispalyed in your transaction') ]) }}
{{ Form::close() }}
@endsection