CasperSecurity
<!DOCTYPE html>
<html>
<head>
<style>
#customers {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 100%;
}
#customers td, #customers th {
border: 1px solid #ddd;
padding: 8px;
font-size:10px;
}
#customers tr:nth-child(even){background-color: #f2f2f2;}
#customers tr:hover {background-color: #ddd;}
#customers th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #007bff;
color: white;
}
</style>
</head>
<body>
<div class="card-body table-responsive pt-0 overflow-scroll" >
<div class="row">
<div class="col-md-12 mb-5">
@if($viewreport)
<div class="card shadow-md">
<div class="card-header card-header-stretch">
<h6 class="card-title fs-6">
@if(session('session_start_date') && session('session_end_date'))
{{\Carbon\Carbon::parse(session('session_start_date'))->format('d-F-Y')}} To {{\Carbon\Carbon::parse(session('session_end_date'))->format('d-F-Y')}}
@endif
</h6>
<div class="card-toolbar">
<ul class="nav nav-tabs nav-line-tabs nav-stretch fs-8 text-dark border-0">
</ul>
</div>
</div>
<div class="card-body">
<div class="tab-content" id="myTabContent">
<div class="row">
<table class="table auto w-full fs-9 border-collapse border border-slate-500">
<thead style="font-size: 12px;">
<tr style="font-size: 12px;">
<th class="border border-slate-600 text-left" colspan="2" style="background-color: rgba(59,130,246,1); color:#fff;" >Summary For B2C</th>
<th class="border border-slate-600 text-left" colspan="12"></th>
</tr>
<tr style="background-color: rgba(59,130,246,1); color:#fff; font-size: 10px;">
<th class="px-2 border border-slate-600 w-125px">No. Of Recipients</th>
<th class="px-2 border border-slate-600 w-125px"></th>
<th class="px-2 border border-slate-600 w-125px">No. Of Invoices</th>
<th class="px-2 border border-slate-600 w-125px"></th>
<th class="px-2 border border-slate-600 text-right w-200px">Total Invoice Value</th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 text-right w-250px">Total Taxable Value</th>
<th class="px-2 border border-slate-600 text-right w-125px">Total Cess</th>
</tr>
<tr style="font-size: 10px;">
<th class="px-2 border border-slate-600 text-center">{{$noofreceiptant}}</th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 text-center">{{$noofinvoices}}</th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 text-right">{{$totalinvoicevalue}}</th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 ..."></th>
<th class="px-2 border border-slate-600 text-right">{{$totaltaxablevalue}}</th>
<th class="px-2 border border-slate-600 text-right">0.00</th>
</tr>
<tr style="background-color: rgba(254,215,170,1); font-size: 10px;">
<th class="px-2 border border-slate-600 ...">GSTIN/UIN of Recipients</th>
<th class="px-2 border border-slate-600 ...">Receiver Name</th>
<th class="px-2 border border-slate-600 ...">Invoice Number</th>
<th class="px-2 border border-slate-600 ...">Invoice Date</th>
<th class="px-2 border border-slate-600 ...">Invoice Value</th>
<th class="px-2 border border-slate-600 ...">Place Of Supply</th>
<th class="px-2 border border-slate-600 ...">Reverse Charge</th>
<th class="px-2 border border-slate-600 ...">Applicable % of Tax Rate</th>
<th class="px-2 border border-slate-600 ...">Invoice Type</th>
<th class="px-2 border border-slate-600 ...">E-Commerce GSTIN</th>
<th class="px-2 border border-slate-600 ...">Rate</th>
<th class="px-2 border border-slate-600 ...">Taxable Value</th>
<th class="px-2 border border-slate-600 ...">Cess Amount</th>
</tr>
</thead>
<tbody>
@foreach($gstarray as $data)
<tr style="font-size: 10px;">
<td class="px-2 border border-slate-700 ...">{{$data['gst_no']}}</td>
<td class="px-2 border border-slate-700 ...">{{$data['client_name']}}</td>
<td class="px-2 border border-slate-700 ...">{{$data['ti_no']}}</td>
<td class="px-2 border border-slate-700 ...">{{\Carbon\Carbon::parse($data['invoice_date'])->format('d-M-Y')}}</td>
<td class="px-2 border border-slate-700 text-right">{{$data['TInetamount']}}</td>
<td class="px-2 border border-slate-700 ...">Odisha</td>
<td class="px-2 border border-slate-700 ...">N</td>
<td class="px-2 border border-slate-700 ..."></td>
<td class="px-2 border border-slate-700 ...">{{$data['invoice_type']}}</td>
<td class="px-2 border border-slate-700 ..."></td>
<td class="px-2 border border-slate-700 ...">{{$data['cgst_rate']+$data['sgst_rate']}}</td>
<td class="px-2 border border-slate-700 text-right">{{number_format((float)$data['TIAmount'], 2, '.', '')}}</td>
<td class="px-2 border border-slate-700 text-right">0.00</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<div class="tab-pane fade" id="docs" role="tabpanel">
...
</div>
</div>
</div>
</div>
@endif
</div>
</div>
</div>
</body>
</html>