@extends('AdminLte.template') @section('title') {{__($trnasactionTitle)}} @endsection @section('ExternalCss') @parent @endsection @section('Content') @php if($trnType == 'IR' || $trnType == "DCR"){ $background = "background:yellow"; }else{ $background = "background:#fff"; } if(!isset($entity)){ $entity=''; $display='none'; $display_indent='block'; }else{ $display='block'; $display_indent='none'; } @endphp
{{ Form::open(['action' => 'ItemController@createSale','id' => 'issueForm','autocomplete' => 'off']) }}

{{__($trnasactionTitle)}}

{{ $entity }} IP Sale



{{__('Store')}}
:
@php $business_entity=NULL; if ($entity != ''){ $business_entity = config('store_constants.entity_code.arpan_entity_code'); } @endphp @if (isset($Indent_Qty_Flag)) @endif @if($hospitalInternal == 'Y') @else @endif @if($trnType == 'IR') @endif @if($trnType == 'I' || $trnType == 'IR') @endif
@if($hospitalInternal == 'Y') {{__('Patient')}} @else Patient @endif
@if($hospitalInternal == 'Y' || $entity == 'Arpan') : @else : @endif
{{__('Customer')}}
@if($hospitalInternal == 'Y') : @else @if($trnType == "DC" || $trnType == "DCR") : @else : @endif @endif
@if($trnType == "IR" || $trnType == "DCR") @if($trnType == "IR") {{__('Bill No')}} @else {{__('DC No')}} @endif @else @if($billAmendment == 'Y' || $partialBillAmendment == 'Y' || $billDiscountAmendment == 'Y') @if($trnType == "I") {{__('Bill No')}} @else {{__('DC No')}} @endif @else @if($trnType == "I") {{__('Bill No')}} @else {{__('DC No')}} @endif @endif @endif
@if($trnType == "IR" || $trnType == "DCR") : / {{__('All Visit')}}
@else @if($billAmendment == 'Y' || $partialBillAmendment == 'Y' || $billDiscountAmendment == 'Y') : / @else : / @endif @endif
{{__('Patient Detail')}}
:
{{__('Contact No')}}
@if($hospitalInternal == 'Y') : @else @if($trnType == "DC" || $trnType == "DCR") : @else : @endif @endif
@if($salesBillDateDisable == 'Y') @if($trnType == "I" || $trnType == "IR") {{__('Bill Date')}} @else {{__('DC Date')}} @endif @else @if($trnType == "I" || $trnType == "IR") {{__('Bill Date')}} @else {{__('DC Date')}} @endif @endif
@if($salesBillDateDisable == 'Y') : @else : @endif
: @if($trnType == "I") @elseif($trnType == "DC") @elseif($trnType == "IR") @else @endif
@if($hospitalInternal == 'Y' || $billAmendment == 'Y' || $partialBillAmendment == 'Y' || $billDiscountAmendment == 'Y')
@else
0     0
@endif
@php if($hospitalInternal == 'Y'){ $cashChecked = ''; $creditChecked = 'checked'; }else{ $cashChecked = ($creditBill == 'Y') ? '' : 'checked'; $creditChecked = ($creditBill == 'Y') ? 'checked' : ''; } @endphp
@php if($hospitalInternal == 'Y'){ $cashChecked = ''; $creditChecked = 'checked'; }else{ $cashChecked = ($creditBill == 'Y') ? '' : 'checked'; $creditChecked = ($creditBill == 'Y') ? 'checked' : ''; } @endphp
{{__('Doctor')}}
:
@if($trnType == 'I')
:
@endif
@if($barcodeFlag == 'Y')
{{__('Barcode')}}
:
@endif

{{__('Indent')}}

Sr    {{__('Medicine / Item Name')}} {{__('Indent Quantity')}} {{__('Pending Sale Quantity')}}

{{__('Indent Return')}}

Sr    {{__('Medicine / Item Name')}} {{__('Actual Sale Quantity')}} {{__('Indent Return Quantity')}} {{__('Pending Return Quantity')}}
@if($barcodeFlag == "Y") @endif
{{__('Sr')}}    {{__('Medicine / Item Name')}} {{__('Batch')}}{{__('Barcode')}}{{__('Category')}} {{__('PUOM')}} {{__('Pkg')}} {{__('Manufacture')}} {{__('Qty')}} {{__('ReOrder')}} {{__('MRP')}} {{__('GST')}}% {{__('Taxable Amt')}} {{__('Disc')}} @if(($trnType == "I" || $trnType == "DC") || ($trnType == "IR" && $billAmendment == "Y")) % @endif {{__('Disc Amt')}} {{__('Total')}}

@if($accessType == 'E') @php if($trnType == "IR" && $billAmendment == "Y"){ $btndisbled = "disabled"; } else { $btndisbled = ""; } @endphp

@endif
{{__('Remark')}}
@if($trnType == "I")
:
{{__('Payment Mode')}}
:
{{__('POS')}}
:
{{__('Agency Name')}}
:
{{__('Card Number')}}
:
{{__('Ref. Number')}}
:


{{__('Payment Mode')}} {{__('Amount')}} {{__('Bank Name')}} {{__('Card No.')}} {{__('REF No.')}} {{__('Note')}}






@elseif($trnType == "DC" || $trnType == "DCR")


@else


@endif
@if(($trnType == "I" || $trnType == "DC") && $PH_DISPLAY_MARGIN_DETAILS == 'Y' && $accessType == 'E')
{{__('L.P.')}} (₨) {{__('S.P.')}} (₨) {{__('Margin')}} (₨) {{__('Margin')}} %
{{__('Line')}}#
{{__('Cumulative')}}
@endif
@php $class = "alert-success"; 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
{{__('Gross Amount')}} :
{{__('Discount')}} :
{{__('Net Taxable Amount')}} :
{{__('CGST Amount')}} :
{{__('SGST Amount')}} :
{{__('Invoice Amount')}} :
{{__('Round Off')}} :
{{__('Net Amount')}}:


@if($accessType == 'E')
@if(($trnType == "I" || $trnType == "DC") && ($billAmendment == 'N' && $partialBillAmendment == 'N' && $billDiscountAmendment == 'N') ) @else @endif
@else @if($closeButtonVisible === 'Y')
@endif @endif {{ Form::close() }}

@endsection @section('BootstrapModals') @include('Components/Bootstrap Modals/product_all_purchase_bill_details_modal') @include('Components/Bootstrap Modals/prescribe_modal') {{-- @include('Components/Bootstrap Modals/advance_collection_modal') --}} @include('Components/Bootstrap Modals/patient_all_sales_bill_modal') @include('Components/Bootstrap Modals/product_all_sales_bill_modal') @include('Components/Bootstrap Modals/product_all_purchase_bill_modal') @include('Components/Bootstrap Modals/product_all_stock_modal') @include('Components/Bootstrap Modals/indent_patient_list_modal') @include('Components/Bootstrap Modals/indent_return_patient_list_modal') @endsection @section('ExternalJs') @if($trnType == "I" || $trnType == "DC" || $freeHandEntry == "Y") @elseif(($trnType == 'IR' || $trnType == "DCR") && $freeHandEntry == "N") @endif @endsection