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 @section('content')
{{ Form::open(array('url' => 'invoice','class'=>'w-100', 'class'=>'needs-validation', 'novalidate')) }}
{{ Form::label('customer_id', __('Customer'),['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', __('Issue 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', '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','required'=>'required','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('category_id', __('Category'),['class'=>'form-label']) }} {{ Form::select('category_id', $category,null, array('class' => 'form-control js-select2','required'=>'required')) }}
{{ Form::label('ref_number', __('Ref Number'),['class'=>'form-label']) }}
{{ Form::text('ref_number', '', array('class' => 'form-control' , 'placeholder'=>__('Enter Ref NUmber'))) }}
{{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- {{Form::label('sku',__('SKU')) }}--}} {{-- {!!Form::text('sku', null,array('class' => 'form-control','required'=>'required')) !!}--}} {{--
--}} {{--
--}} @if(!$customFields->isEmpty()) {{--
--}} {{--
--}} @include('customFields.formBuilder') {{--
--}} {{--
--}} @endif
{{__('Product & Services')}}
{{__('Items')}} {{__('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::text('quantity', '', ['class'=>'form-control quantity','required'=>true,'placeholder'=>__('Qty')]) }} {{ Form::text('price', '', ['class'=>'form-control price','required'=>true,'placeholder'=>__('Price')]) }} {{ Form::text('discount', '', ['class'=>'form-control discount','placeholder'=>__('Discount')]) }} {{ Form::hidden('itemTaxPrice','', ['class'=>'itemTaxPrice']) }} {{ Form::hidden('itemTaxRate','', ['class'=>'itemTaxRate']) }}
{{ Form::textarea('description', null, ['class'=>'form-control','rows'=>'2','placeholder'=>__('Description')]) }}
0.00
      {{__('Sub Total')}} ({{\Auth::user()->currencySymbol()}}) 0.00
      {{__('Discount')}} ({{\Auth::user()->currencySymbol()}}) 0.00
        {{__('Total Amount')}} ({{\Auth::user()->currencySymbol()}}) 0.00
{{ Form::close() }}
@endsection