@extends('layouts.admin.master') @section('title', 'Purchase') @section('vendor-style') @endsection @section('vendor-script') @endsection @section('content') @if(count($errors) > 0)
@endif @if($message = Session::get('error'))
@endif @if($message = Session::get('success'))
@endif
@csrf @method('PUT')
{{$purchase->vendor->address}}
{{$purchase->vendor->mobile}}
@php $c = 0; $finaltaxableamt = 0; @endphp @foreach($purchase->purchaseDetails as $purchaseList) @php $taxvalue = ($purchaseList->discount_percentage / 100) * $purchaseList->gross_amt; $costval = ($purchaseList->discount_percentage / 100) * $purchaseList->rate; $finalcostval = ($purchase->total_discount_percentage / 100) * $purchaseList->rate; $totalcostval = ($costval + $finalcostval); $finaltaxableamt = $finaltaxableamt + $purchaseList->taxable_amt; @endphp @php $c++ @endphp @endforeach
No Code Product Quantity Free Qty Rate Cost Sale Rate MRP Gross Amt Disc % Discount Taxable Amt GST % CGST Amt SGST % SGST Amt Total
{{ $loop->iteration }}
Add

Price Section

Gross Total Taxable CGST Amt Purchase Value Other Expense Cost Factor
Discount
Total Tax SGST Amt Net Value Freight Coolie TCS
Item Discount Exempted IGST Amt Cess Amt Add.Cess
Cash Discount
Round Off

Bill Amount

{{$purchase->grand_total}}

@endsection