@extends('Reports.template') @section('title') @php $reportTitle = "Sales Summary - Product Wise"; @endphp {{__($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).__($reportTypeDisplay)}} | {{__('Store')}} : {{$storeName}} | {{__('Period')}} : {{\Helper::getDisplayDate($fromDate)}} {{__('TO')}} {{\Helper::getDisplayDate($toDate)}} | |||||||||||||||
| {{__('Sr No')}} | {{__('Product Name')}} | {{__('Generic Drug Name')}} | {{__('Category')}} | ||||||||||||||
| {{__('Trn No')}} | {{__('Trn Date')}} | {{__('Patient / Customer Name')}} | {{__('Qty')}} | {{__('MRP')}} | {{__('Amount')}} | ||||||||||||
| {{__('Sr No')}} | {{__('Product Name')}} | {{__('Generic Drug Name')}} | {{__('Category')}} | {{__('Total Qty')}} | {{__('Total MRP')}} | {{__('Total Amount')}} | |||||||||||
| {{__('Total')}} | {{$totalIssueQty}} | @if($totalIssueQty != 0){{\Helper::customAmountFormat(round($totalIssueAmount/$totalIssueQty,2))}} | @else{{\Helper::customAmountFormat(0)}} | @endif{{\Helper::customAmountFormat($totalIssueAmount)}} | |||||||||||||
| {{$srheader++}} | {{$product->product_name}} | {{$product->generic_drug_name}} | {{$product->category_abbrev }} | ||||||||||||||
| {{$srheader++}} | {{$product->product_name}} | {{$product->generic_drug_name}} | {{$product->category_abbrev }} | {{$product->quantity}} | @if($product->quantity != 0){{ \Helper::customAmountFormat(round($product->total/$product->quantity,2)) }} | @else{{ \Helper::customAmountFormat(0) }} | @endif{{ \Helper::customAmountFormat($product->total) }} | ||||||||||
| {{ $transaction->trn_type."/".$transaction->trn_fyear."/".$transaction->trn_id }} | {{\Helper::getDisplayDate($transaction->trn_date)}} | {{$patOrCustName}} | {{$transaction->calc_quantity}} | @if($transaction->calc_quantity != 0){{ \Helper::customAmountFormat(round($transaction->sold_amt/$transaction->calc_quantity,2))}} | @else{{ \Helper::customAmountFormat(0)}} | @endif{{ \Helper::customAmountFormat($transaction->sold_amt)}} | |||||||||||
| {{__('Total')}} | {{$totalIssueQty}} | @if($totalIssueQty != 0){{\Helper::customAmountFormat(round($totalIssueAmount/$totalIssueQty,2))}} | @else{{\Helper::customAmountFormat(0)}} | @endif{{\Helper::customAmountFormat($totalIssueAmount)}} | |||||||||||||
| {{__('Grand Total')}} | {{\Helper::customAmountFormat($finalAmount)}} | ||||||||||||||||
| {{__('Grand Total')}} | {{\Helper::customAmountFormat($finalAmount)}} | ✱ {{__(Config::get('constants.asterisk.WALK_CUST'))}} | {{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}} | @else{{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}} | @endif|||||||||||||