Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /proc/thread-self/root/home/vapecompany/demo.vapecompany.com.bd/resources/views/backend/pdf/reports/sells/ |
Upload File : |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Sells Report</title> @include('backend.pdf.layouts.css') </head> <body > @include('backend.pdf.layouts.report-header') <main> <div id="details" class="clearfix"> <div id="client"class="mt-10"> <h2 class="name">Sells Statistics</h2> </div> </div> <table class="table" width="100%" cellspacing="0"> <thead> <tr class="bg-secondary text-white"> <th scope="col">#</th> <th scope="col">{{__('pages.data_title')}}</th> @can('access_to_all_branch') <th>{{__('pages.branch')}}</th> @endcan <th scope="col">{{__('pages.total_amount')}}</th> </tr> </thead> <tbody> `@php $grand_total_amount = 0; @endphp @for($d=0; $d < count($sell_info); $d++) <tr> <th scope="row">{{$d + 1}}</th> <td> @if(Request::get('year')){{Request::get('year')}} ,@endif @if(Request::get('search_type') != 'year') {{\Carbon\Carbon::parse($sell_info[$d]['sell_date'])->format(get_option('app_date_format'))}} @else {{ $sell_info[$d]['sell_date']}} @endif </td> @can('access_to_all_branch') <td> @if(Request::get('branch_id')) {{\App\Models\Branch::findOrFail(Request::get('branch_id'))->title}} @else {{__('pages.all_branch')}} @endif </td> @endcan <td>{{get_option('app_currency')}} {{number_format($sell_info[$d]['total_sell_amount'], 2)}}</td> @php $grand_total_amount += $sell_info[$d]['total_sell_amount']; @endphp </tr> @endfor <tr> @can('access_to_all_branch') <td colspan="3"><strong>{{__('pages.grand_total')}}</strong></td> @else <td colspan="2"><strong>{{__('pages.grand_total')}}</strong></td> @endcan <td><strong>{{get_option('app_currency')}} {{number_format($grand_total_amount, 2)}}</strong></td> </tr> </tbody> </table> </main> @include('backend.pdf.layouts.footer') </body> </html>