JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') {{__('Invoice Create')}} @endsection @section('breadcrumb') @endsection @push('script-page') @endpush @push('script-page') @endpush @section('content')
{{ Form::open(array('url' => 'invoice','class'=>'w-100', 'class'=>'needs-validation', 'novalidate')) }}
{{ Form::label('customer_id', __('Customer Name'),['class'=>'form-label']) }} {{ Form::select('customer_id', $customers,$customerId, array('class' => 'form-control js-select2','id'=>'customer','data-url'=>route('invoice.customer'),'required'=>'required')) }}
{{ Form::label('issue_date', __('Invoice Date'),['class'=>'form-label']) }}
{{Form::date('issue_date',\Carbon\Carbon::now()->format('Y-m-d'),array('class'=>'form-control','required'=>'required','id' => 'issue_date_inv'))}}
{{ Form::label('terms', __('Terms'), ['class' => 'form-label']) }}
{{ Form::select('terms', $terms,'net_07',[ 'class' => 'form-control', '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', 'readonly' => true))}}
{{ 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','id' => 'place_supply','required'=>'required')) }}
{{ Form::label('ref_number', __('Order Number'),['class'=>'form-label']) }}
{{ Form::text('ref_number', '', array('class' => 'form-control' , 'placeholder'=>__('Enter Order Number'))) }}
{{ 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')]) }}
{{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- {{Form::label('sku',__('SKU')) }}--}} {{-- {!!Form::text('sku', null,array('class' => 'form-control','required'=>'required')) !!}--}} {{--
--}} {{--
--}} @if(!$customFields->isEmpty()) {{--
--}} {{--
--}} @include('customFields.formBuilder') {{--
--}} {{--
--}} @endif
{{__('Item Table')}}
{{__('Item Details')}} {{__('Quantity')}} {{__('Price')}} {{__('Discount')}} {{__('Tax')}} (%) {{__('Amount')}}
{{__('after tax & discount')}}
{{ Form::select('item', $product_services, null, [ 'class' => 'form-select item js-select2', 'data-url' => route('invoice.product'), 'required' => true ]) }} {{ Form::number('quantity', '', ['class'=>'form-control quantity','required'=>true,'placeholder'=>__('Qty'),'min' => '0']) }} {{ Form::number('price', '', ['class'=>'form-control price','required'=>true,'placeholder'=>__('Price'),'min' => '0']) }} {{ Form::number('discount', '', ['class'=>'form-control discount','placeholder'=>__('Discount'),'min' => '0']) }} {{ Form::hidden('itemTaxPrice','', ['class'=>'itemTaxPrice']) }} {{ Form::hidden('itemTaxRate','', ['class'=>'itemTaxRate']) }} 0.00
      {{__('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