@php
$pages = $bill->page_number_id;
$pageValue = \App\Models\PageNumberMaster::where('id',$pages)->first();
$totalValue = $bill->rate * $pageValue->name - ($bill->rate * $pageValue->name * $bill->discount/100);
$cgst = $totalValue * $bill->cgst/100;
$sgst = $totalValue * $bill->sgst/100;
$igst = $totalValue * $bill->igst/100;
@endphp