dbfdg @extends('layouts.admin') @section('page-title') {{__('Bill Edit')}} @endsection @section('breadcrumb') @endsection @push('script-page') @endpush @section('content')
{{ Form::model($bill, array('route' => array('bill.update', $bill->id), 'method' => 'PUT','class'=>'w-100')) }}
{{ Form::label('vender_id', __('Vendor'),['class'=>'form-label']) }} {{ Form::select('vender_id', $venders,null, array('class' => 'form-control select','id'=>'vender','data-url'=>route('bill.vender'),'required'=>'required')) }}
{{ Form::label('bill_date', __('Bill Date'),['class'=>'form-label']) }} {{Form::date('bill_date',null,array('class'=>'form-control','required'=>'required'))}}
{{ Form::label('due_date', __('Due Date'),['class'=>'form-label']) }} {{Form::date('due_date',null,array('class'=>'form-control','required'=>'required'))}}
{{ Form::label('bill_number', __('Bill Number'),['class'=>'form-label']) }}
{{ Form::label('category_id', __('Category'),['class'=>'form-label']) }} {{ Form::select('category_id', $category,null, array('class' => 'form-control select')) }}
{{ Form::label('order_number', __('Order Number'),['class'=>'form-label']) }} {{ Form::number('order_number', null, array('class' => 'form-control')) }}
@if(!$customFields->isEmpty())
@include('customFields.formBuilder')
@endif
{{__('Product & Services')}}
{{ Form::hidden('id',null, array('class' => 'form-control id')) }} {{ Form::hidden('account_id',null, array('class' => 'form-control account_id')) }}
{{__('Items')}} {{__('Quantity')}} {{__('Price')}} {{__('Discount')}} {{__('Tax')}} (%) {{__('Amount')}}
{{__('after tax & discount')}}
{{ Form::select('items', $product_services,null, array('class' => 'form-control select item','data-url'=>route('bill.product'))) }}
{{ Form::text('quantity',null, array('class' => 'form-control quantity','placeholder'=>__('Qty'))) }}
{{ Form::text('price',null, array('class' => 'form-control price','placeholder'=>__('Price'))) }} {{\Auth::user()->currencySymbol()}}
{{ Form::text('discount',null, array('class' => 'form-control discount','placeholder'=>__('Discount'))) }} {{\Auth::user()->currencySymbol()}}
{{ Form::hidden('tax','', array('class' => 'form-control tax')) }} {{ Form::hidden('itemTaxPrice','', array('class' => 'form-control itemTaxPrice')) }} {{ Form::hidden('itemTaxRate','', array('class' => 'form-control itemTaxRate')) }}
0.00 @can('delete proposal product') @endcan
{{-- {{ Form::select('chart_account_id', $chartAccounts,null, array('class' => 'form-control select js-searchBox')) }} --}}
{{ Form::text('amount',null, array('class' => 'form-control accountAmount','placeholder'=>__('Amount'))) }} {{\Auth::user()->currencySymbol()}}
{{ Form::textarea('description', null, ['class'=>'form-control pro_description','rows'=>'1','placeholder'=>__('Description')]) }} 0.00
      {{__('Sub Total')}} ({{\Auth::user()->currencySymbol()}}) 0.00
      {{__('Discount')}} ({{\Auth::user()->currencySymbol()}}) 0.00
      {{__('Tax')}} ({{\Auth::user()->currencySymbol()}}) 0.00
        {{__('Total Amount')}} ({{\Auth::user()->currencySymbol()}}) 0.00
{{ Form::close() }}
@endsection