@extends('admin.admin_master') @section('admin')

Inovice Approve

@php $payment = App\Models\Payment::where('invoice_id', $invoice->id)->first(); $warehouse = App\Models\Warehouse::latest()->get(); @endphp

Invoice No: #{{ $invoice->invoice_no }} - {{ date('d-m-Y', strtotime($invoice->date)) }}

Pending Invoice List

Customer Info

Name: {{ $payment['customer']['name'] }}

Mobile: {{ $payment['customer']['mobile_no'] }}

Email: {{ $payment['customer']['email'] }}

Description : {{ $invoice->description }}

@csrf @php $total_sum = '0'; $total_gst = '0'; @endphp @foreach ($invoice['invoice_details'] as $key => $details) {{-- --}} @php $total_sum += $details->selling_price; $total_gst += $details->gst_amount; @endphp @endforeach
Sl Items Description Area Current Stock Quantity Unit Price Total Price
{{ $key + 1 }}{{ $details['category']['name'] }}{{ $details['product']['name'] }} {{ $details['area']['name'] }} {{ $details['product']['op_quantity'] }} {{ $details->selling_qty }} {{ $details->unit_price }} {{ $details->selling_price }}
Sub Total {{ $total_sum }}
GST (5%) {{ $payment->gst_amount }}
Paid Amount {{ $payment->paid_amount }}
Due Amount {{ $payment->due_amount }}
Total Amount {{ $payment->total_amount }}
Approve Invoice Order from Admin
@endsection