@extends('layouts.dashboard') @section('pagehead', 'Edit Bill') @section('bredcrumb-item-link',url('/home/billing/' . $bill->client_id)) @section('bredcrumb-item','Go Back') @section('content')
@include('layouts.notification')
@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
@method('PUT') @csrf

@endsection @section('scripts') @endsection