@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) logo )}}"/> @endif |
{{ $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 | @elseDoctor 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 ')}} |