@extends('AdminLte.template') @section('title') {{__($title)}} @endsection @section('ExternalCss') @parent @endsection @section('Content')
@if($billAmendment === 'Y') {{ Form::open(['action' => "ItemController@createPurchaseAmendment",'autocomplete'=>'off','id'=>'purchaseForm']) }} @else {{ Form::open(['action' => "ItemController@create",'autocomplete'=>'off','id'=>'purchaseForm']) }} @endif

{{($title)}}



{{__('Store')}}
:
{{__('Supplier Name')}}
:
{{--
{{__('Supplier Name')}} :
--}}
@if($trnType == "PR" || $trnType == "CSNR") {{__('Supplier Bill No')}} @else {{__('Supplier Bill No')}} @endif
@if($trnType == "PR" || $trnType == "CSNR") : @else : @endif
@if($trnType == "PR" || $trnType == "CSNR") {{__('Supplier Bill Date')}} @else {{__('Supplier Bill Date')}} @endif
@if($trnType == "PR" || $trnType == "CSNR") : @else : @endif
@if($billAmendment == 'Y' ) {{__('Voucher No')}} @else @if($trnType == "PR" || $trnType == "CSNR") {{__('Voucher No')}} @else {{__('Voucher No')}} @endif @endif
@if($billAmendment == 'Y' ) : / @else : @if($trnType == "PR" || $trnType == "CSNR") / @else / @endif @endif @if($trnType == "P") @elseif($trnType == "CSN") @elseif($trnType == "PR") @else @endif
@if($trnType == "PR" || $trnType == "CSNR") {{__('Voucher Date')}} @else {{__('Voucher Date')}} @endif
@php if(isset($voucherDateEditable) && $voucherDateEditable == "N"){ $vDatereadonly = "readonly"; $vDatereadonlyClass = "readOnlyBackground"; } else { $vDatereadonly = ""; $vDatereadonlyClass = ""; } @endphp @if($trnType == "PR" || $trnType == "CSNR") : @else : @endif
@if(($trnType == "PR" || $trnType == "CSNR") && ($barcodeFlag == 'Y'))
{{__('Barcode')}} :
@endif
@if($sellingPriceLogicApplicable == "Y") @endif
{{__('Sr')}}    {{__('Medicine/Item Name')}} {{__('Cat')}} {{__('PUOM')}} {{__('Pkg')}} {{__('Batch')}}    {{__('Exp')}} {{__('Qty')}} {{__('FQty')}} {{__('Sch Amt')}} {{__('MRP')}} {{__('PTR')}} {{__('Disc')}} {{__('Disc Amt')}} {{__('Net Rate')}} {{__('GST')}}% {{__('GST Amt')}}{{__('SP')}}{{__('Total')}}

@if($accessType == 'E') @endif @if($accessType == 'E' && ($trnType == "P" || $trnType == "CSN")) @endif
@php if(session()->get('messageType') == 'success'){ $class = "alert-success"; }else if(session()->get('messageType') == 'error'){ $class = "alert-danger"; } @endphp @if(session()->has('message'))
× {{"(#" . session()->get('trnType')."/".session()->get('trnFyear')."/".session()->get('trnId'). ")"}} {{session()->get('message')}}
@endif




@php $remarkRequired = ($trnType == "PR" || $trnType == "CSNR") ? 'required' : 'Purchase Return Transaction'; @endphp @if($trnType == "PR" || $trnType == "CSNR") {{__('Remark')}} : @else {{__('Remark')}} : @endif

Note :
- {{__('Required fields.')}}
- {{__('Required either fields.')}}
{{__('Submit - Stock information will be updated for Transaction entries.')}}
@if($billAmendment == 'N') {{__('Save - Stock information will not be updated for Transaction entries.')}}
{{__('Cancel - Entire transaction will be marked Cancelled.')}} @endif
@php $type = ($accessType == 'E' && ($trnType == "P" || $trnType == "CSN") && $billAmendment != 'Y' && $NET_INP_SKIP!="Y") ? 'password' : 'text'; @endphp
{{__('Gross Amount')}} :
{{__('Discount')}} :
{{__('Net Taxable Amount')}} :
{{__('CGST Amount')}} :
{{__('SGST Amount')}} :
{{__('IGST Amount')}} :
{{__('Invoice Amount')}} :
{{__('Scheme / Credit Note Amount')}} :
{{__('TCS Amount')}} :
{{__('Round Off')}} :
@if($billAmendment == 'Y')
{{__('Net Amount')}}:
@else
{{__('Net Amount')}}:
@if($NET_INP_SKIP != "Y")
{{__('Enter Net Amount')}}:
@endif @endif


@if($billAmendment == 'N') @if($accessType == 'E') @if($NET_INP_SKIP == "Y") @else @endif @endif @if($closeButtonVisible === 'Y') @endif @else @endif
{{ Form::close() }}


@endsection @section('BootstrapModals') @include('Components/Bootstrap Modals/product_all_purchase_bill_details_modal') @include('Components/Bootstrap Modals/product_all_stock_modal') @if($trnType == "P" || $trnType == "CSN") @include('Components/Bootstrap Modals/product_modal') @include('Components/Bootstrap Modals/category_modal') @include('Components/Bootstrap Modals/drug_modal') @include('Components/Bootstrap Modals/manufacture_modal') @include('Components/Bootstrap Modals/unit_modal') @include('Components/Bootstrap Modals/productgroup_modal') @endif @endsection @section('ExternalJs') @if($trnType == "P" || $trnType == "CSN") @else @endif @endsection