@extends('Reports.template') @section('title') @if($reportType == "D") @php $reportTitle = "Doctor Wise Sales Report (Day Wise)"; @endphp @else @php $reportTitle = "Doctor Wise Sales Report (Summary)"; @endphp @endif {{__($reportTitle)}} @endsection @section('ExternalCss') @parent @endsection @section('Content')
|
@if($businessEntityMasterData[0]->logo != null)
|
{{ $businessEntityMasterData[0]->name }}
{{$businessEntityMasterData[0]->add1. " " .$businessEntityMasterData[0]->add2 ." ".$businessEntityMasterData[0]->city." : " .$businessEntityMasterData[0]->pincode }}
{{"Phone : ".$businessEntityMasterData[0]->tel1}}
|
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{__($reportTitle) . " " . __($patType)}} | {{__('Store')}} : {{$storeName}} | {{__('Period')}} : {{\Helper::getDisplayDate($fromDate)}} {{__('TO')}} {{\Helper::getDisplayDate($toDate)}} | |||||||||||||
| {{__('Doctor Name')}} | {{__('Bill Date')}} | @else{{__('Doctor Name')}} | @endif @if($patientFilter != ''){{__('Patient')}} | @else@endif | {{__('Product Name')}} | {{__('Mfg')}} | {{__('Category')}} | {{__('SUOM')}} | {{__('Sales Qty')}} | {{__('PTR as per Stock Unit')}} | {{__('Total as per PTR')}} | {{__('Sales Amt')}} | {{__('Diff Amt')}} | ||
| {{__('Total')}} : | {{\Helper::customAmountFormat($totalPtrPerQty)}} | {{\Helper::customAmountFormat($totalSalesAmt)}} | {{\Helper::customAmountFormat($totalDiffAmt)}} | ||||||||||||
| {{$sales->doctor_name}} | {{\Helper::getDisplayDate($sales->trn_date)}} | @else{{$sales->doctor_name}} @endif | {{$patientDetail}} | {{$sales->product_name}} | {{$sales->manufacturer_name}} | {{ $sales->category_abbrev }} | {{ $sales->SUOM }} | {{ $sales->total_quantity }} | {{ \Helper::customAmountFormat($ptrAmount) }} | {{ \Helper::customAmountFormat($totalPtrAmount) }} | {{\Helper::customAmountFormat($sales->total_amt)}} | {{ \Helper::customAmountFormat($diffAmt) }} | |||
| @if(\Helper::getDisplayDate($sales->trn_date) != $trnDate) | {{\Helper::getDisplayDate($sales->trn_date)}} | @else@endif @else | @endif @if(\Helper::getDisplayDate($sales->trn_date) != $trnDate) | {{ $patientDetail }} @else | @endif | {{$sales->product_name}} | {{$sales->manufacturer_name}} | {{$sales->category_abbrev}} | {{$sales->SUOM}} | {{$sales->total_quantity}} | {{\Helper::customAmountFormat($ptrAmount)}} | {{\Helper::customAmountFormat($totalPtrAmount)}} | {{\Helper::customAmountFormat($sales->total_amt)}} | {{\Helper::customAmountFormat($diffAmt)}} | |
| {{__('Total')}} : | {{\Helper::customAmountFormat($totalPtrPerQty)}} | {{\Helper::customAmountFormat($totalSalesAmt)}} | {{\Helper::customAmountFormat($totalDiffAmt)}} | ||||||||||||
| {{__('Total Sales')}} : | {{\Helper::customAmountFormat($finalTotalPtrPerQty)}} | {{\Helper::customAmountFormat($finalTotalSalesAmt)}} | {{\Helper::customAmountFormat($finalTotalDiffAmt)}} | {{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}} | |||||||||||