@extends('Reports.template') @section('title') @php if($trnType == 'I') $title = 'Sales Bill'; else if($trnType == 'IR') $title = 'Sales Return Bill'; else if($trnType == 'DC') $title = 'DC Bill'; else if($trnType == 'DCR') $title = 'DC Return Bill'; @endphp {{$title}} @endsection @section('ExternalCss') @parent @endsection @section('Content')
@if($businessEntityMasterData[0]->logo != null) logo )}}"/> @endif |
{{ $businessEntityMasterData[0]->name }}
{{$businessEntityMasterData[0]->add1. " " .$businessEntityMasterData[0]->add2 ." ".$businessEntityMasterData[0]->city." : " .$businessEntityMasterData[0]->pincode }}
{{"Phone : ".$businessEntityMasterData[0]->tel1}}
|
|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$reportTitle }}
{{$no.$productHeader[0]->trn_type." / ".$productHeader[0]->trn_id}} |
{{'TAX INVOICE'}}
{{$date.$trnDate}} |
|||||||||||||
@php
if($productHeader[0]->patient_id == NULL || $productHeader[0]->patient_id == '0'){
$patOrCustDetail = "Customer : " . $productHeader[0]->ph_cust_id." / ".$productHeader[0]->ph_cust_name;
}else{
if($productHeader[0]->is_ptr_applicable == "Y"){
$patOrCustDetail = "Patient : " . $productHeader[0]->patient_id." / ".$productHeader[0]->patient_name." (C/o $companyName)";
}else{
$patOrCustDetail = "Patient : " . $productHeader[0]->patient_id." / ".$productHeader[0]->patient_name;
}
}
@endphp
{{$patOrCustDetail}}
Address : {{$patientAdress}} Doctor : {{$doctorName}} |
||||||||||||||
Sr. Item Name | Pkg | Batch | Exp | |||||||||||
MRP | Qty | Total | Dis.% | Dis. | Taxable | |||||||||
SGST% | SGST | CGST% | CGST | Amount | ||||||||||
{{ $i++ }} {{ substr($productTransaction->product_name, 0, 32) }} | {{$productTransaction->conversion_factor }} | {{ $productTransaction->batch_no }} | {{$batchExp}} | |||||||||||
{{ number_format($productTransaction->mrp,2) }} | {{ $productTransaction->quantity }} | {{ number_format($mrpValue,2) }} | {{ $discountPercentage }} | {{ number_format($productTransaction->discount_amt,2) }} | {{ number_format($productTransaction->taxable_amt,2) }} | |||||||||
{{ number_format($productTransaction->cgst_percentage,1) }} | {{ number_format($productTransaction->cgst_value,2) }} | {{ number_format($productTransaction->sgst_percentage,1) }} | {{ number_format($productTransaction->sgst_value,2) }} | {{ number_format($netTotal,2) }} | ||||||||||
Total Qty : {{$totalQty}} | ||||||||||||||
Gross Total : {{\Helper::zeroValueToNbspSpace(number_format($totalmrpValue,2)) }} | ||||||||||||||
Total Discount : {{\Helper::zeroValueToNbspSpace(number_format($productHeader[0]->discount_amt,2)) }} | ||||||||||||||
Total Amount : {{\Helper::zeroValueToNbspSpace(number_format($productHeader[0]->invoice_amt,2)) }} | ||||||||||||||
ROUND OFF : {{\Helper::zeroValueToNbspSpace(number_format($productHeader[0]->round_off,2)) }} | ||||||||||||||
NET TOTAL : {{\Helper::zeroValueToNbspSpace(number_format($productHeader[0]->total,2)) }} | ||||||||||||||
REMARK : {{strtoupper($productHeader[0]->remarks)}} | ||||||||||||||
@if($productHeader[0]->total >= 0) RUPEES {{ strtoupper(\Helper::convertNumber($productHeader[0]->total) . " only") }} @if($productHeader[0]->is_credit_bill == 'N') {{"By ".strtoupper($productHeader[0]->gm_description) }} @endif @if(strtoupper($productHeader[0]->payment_agency != '')) {{", ".strtoupper($productHeader[0]->payment_agency) }} {{", ".strtoupper($productHeader[0]->payment_number) }} @endif @endif | ||||||||||||||
{{"Patient Type : ".$productHeader[0]->rate_card}} | ||||||||||||||
{{"Room : ". $productHeader[0]->room_id ." / ".$productHeader[0]->room_cat_dis." / Floor : ".$productHeader[0]->floor}} | ||||||||||||||
D.L NO : {{$businessEntityMasterData[0]->dl_no}} | ||||||||||||||
GST NO : {{$businessEntityMasterData[0]->gsttin_no}} | ||||||||||||||
E. & O.E. For, {{ strtoupper(($businessEntityMasterData[0]->name)) }} |
||||||||||||||
{!! $businessEntityMasterData[0]->remarks !!} | ||||||||||||||
Print By :
{{ strtoupper($userId)." # ".$currentTime->format('d/m/Y H:i:s ')}}
Created By : {{strtoupper($productHeader[0]->ph_created_by.' # '.\Helper::getDisplayDateTime($productHeader[0]->ph_created_date))}} |