@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal")
  @lang('layout.UpdateContract')
{!! Form::model($contract,['method' => 'PATCH','route' => ['contract.update',$contract->id],'files'=> true,'id'=>'contract-form'])!!} {{ csrf_field() }}
{{Form::text('company_name',null,['class' => 'form-control','placeholder' => __('layout.ContractName'),'v-validate'=>'"required"','data-vv-as'=>__('layout.ContractName')])}} @{{ errors.first('name') }}
{{Form::text('contract_no',null,['class' => 'form-control'])}}
@{{ errors.first('member_id') }}
@{{ errors.first('currency') }}
@{{ errors.first('currency_rate') }}
{{Form::number('amount',null,['class' => 'form-control','v-validate'=>"''",'data-vv-as'=>__('layout.Amount')])}} @{{ errors.first('amount') }}
{{Form::number('pos_neg_amount',null,['class' => 'form-control','v-validate'=>"''",'data-vv-as'=>__('layout.Amount')])}}  
{!! Form::textarea('description', null, array('placeholder' => __('layout.Description'),'class' => 'form-control','rows' => 1, 'cols' => 30)) !!}
{{--
--}}
@if(getmine() == 'true') {{--
{!! Form::number('all_percentage', null, array('placeholder' => __('layout.Percentage'),'class' => 'form-control')) !!}
{!! Form::number('per_percent_price', null, array('placeholder' => __('layout.PerPercentPrice'),'class' => 'form-control')) !!}
--}} @endif
@if(getmine() == 'true') @endif @if(getmine() == 'true') @endif {{-- --}}
# @lang('layout.Category') @lang('layout.ItemName') @lang('layout.Description') @lang('layout.ExpireDate') @lang('layout.Quantity') @lang('layout.OMeasureValue') @lang('layout.Measure') @lang('layout.NewCost') @lang('layout.SalePrice') @lang('layout.Discount') @lang('layout.Total')
@{{index+1}} @{{ errors.first('inventory_id['+index+']') }} @{{ errors.first('quantity['+index+']') }}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}} %
@{{selected_currency.symbol}}

# @lang('layout.Shareholder') @lang('layout.Percentage')
@{{index+1}}
@if(getContractLoadingDate()=="true")
@lang('layout.LoadingDate')
# @lang('layout.Number') @lang('layout.LoadingDate') @lang('layout.Description')
@{{index+1}}
@endif
@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush