@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"; } @endphp
{{ Form::open(['action' => 'ItemController@createSale','id' => 'issueForm','autocomplete' => 'off']) }}

{{$trnasactionTitle}}



Store
:
@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') : @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 BatchBarcodeCategory 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
:






@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