@extends('AdminLte.template') @section('title') {{ isset($billAmendment) && $billAmendment == 'Y' ? ($trnType == 'GRNR' ? __('GRN Return Amendment') : __('GRN Amendment')) : (($trnType == 'GRN') ? __('Goods Receipt Note') : __('Goods Receipt Note Return')) }} @endsection @section('ExternalCss') @parent @endsection @section('Content')
@php $isGrnAmendment = isset($billAmendment) && $billAmendment == 'Y'; $amendmentAction = $trnType == 'GRNR' ? 'StoreItemController@createPurchaseReturnAmendment' : 'StoreItemController@createPurchaseAmendment'; $trnasactionTitle = $isGrnAmendment ? ($trnType == 'GRNR' ? __('GRN Return Amendment') : __('GRN Amendment')) : (($trnType == 'GRN') ? __("Goods Receipt Note") : __("Goods Receipt Note Return")); @endphp

{{$trnasactionTitle}}

{{ Form::open(['action' => $isGrnAmendment ? $amendmentAction : 'StoreItemController@create','autocomplete'=>'off','id'=>'purchaseForm']) }} @if($isGrnAmendment) @endif
{{__('PO No')}} :
{{__('Store')}} ✱ :
@if($storeName != "") @else @endif
{{__('Supplier Name')}} ✱ :
{{__('Supplier Bill No')}} ✱ :
{{__('Supplier Bill Date')}} ✱ :
@if($trnType == 'GRNR') @else @endif
{{ $isGrnAmendment && $trnType == 'GRNR' ? __('GRN Return No') : __('GRN No') }} @if($trnType == 'GRNR') ✱ @endif :
@if($isGrnAmendment) @elseif($trnType == 'GRNR') @else @endif
{{ $isGrnAmendment && $trnType == 'GRNR' ? __('GRN Return Date') : __('GRN Date') }} ✱ :
{{__('Sr No.')}} {{__('Item Name')}} {{__('Category')}} {{__('Sub Category')}} {{__('PUOM')}} {{__('Lot No')}}    {{__('Exp')}} {{__('Qty')}} {{__('FQty')}} {{__('Rate')}} {{__('Disc')}} {{__('Disc Amt')}} {{__('GST')}}% {{__('Total')}}

@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('trnId'). ")"}} {{session()->get('message')}}
@endif




@php $remarkRequired = ($trnType == 'GRNR') ? 'required' : 'Purchase Return Transaction'; @endphp @if($isGrnAmendment) {{__('Amendment Reason')}} ✱ : @elseif($trnType == 'GRNR') ✱ {{__('Remark')}} : @else {{__('Remark')}} : @endif

@if(!$isGrnAmendment) {{__('Note')}} :
✱ - {{__('Required fields.')}}'
✱ - {{__('Required either fields.')}}'
{{__('Submit - Stock information will be updated for Transaction entries.')}}'
{{__('Save - Stock information will not be updated for Transaction entries.')}}'
{{__('Cancel - Entire transaction will be marked Cancelled.')}}'
@endif
@php $type = ($trnType == 'GRN') ? 'password' : 'text'; @endphp
{{__('Gross Amount')}} :
{{__('Discount')}} :
{{__('Net Taxable Amount')}} :
{{__('CGST Amount')}} :
{{__('SGST Amount')}} :
{{__('IGST Amount')}} :
{{__('Invoice Amount')}} :
{{__('Other Chanrges')}} ({{__('Non GST')}}) :
{{__('TCS Amount')}} :
{{__('Round Off')}} :
{{__('Net Amount')}}:
{{__('Enter Net Amount')}}:


@if(!$isGrnAmendment) @endif @if(!$isGrnAmendment) @endif @if($trnType == 'GRN') @endif @if($trnType == 'GRNR') @endif
{{ Form::close() }}


@endsection @section('BootstrapModals') @endsection @section('ExternalJs') @endsection