From,

Golden Era Consumer Durables

1299, 2nd Floor, 41st Cross, 25th Main Rd,
Jayanagara 9th Block, Jayanagar,
Bengaluru, Karnataka 560056


{{-- Invoice & Customer Info --}} @if($invoice_data_individual && count($invoice_data_individual) > 0) @php $invoice = $invoice_data_individual[0]; @endphp

Proforma Invoice: #{{ $invoice->invoice_id }}

Billed To: {{ $username['user_username'] }}

Email: {{ $username['user_email'] }}

Billed Date: {{ \Carbon\Carbon::parse($invoice->created_on)->format('d/m/Y') }}

@endif {{-- Billing Address --}}
Billing Address
@php $billing = !empty($invoice->first_name) ? $invoice : ($address_detail[0] ?? null); @endphp @if($billing)
{{ $billing->first_name }} {{ $billing->last_name }}
{{ $billing->address }}
{{ $billing->city }}, {{ $billing->state }} - {{ $billing->zipcode }}
Mobile: {{ $billing->mobile }}
@else
No billing address available
@endif
@if ($payment_type && count($payment_type) > 0) @php $firstPayment = is_array($payment_type[0] ?? null) ? $payment_type[0]['payment_type'] : ($payment_type[0]->payment_type ?? ''); // Map keywords to proper display names $paymentLabels = [ 'COD' => 'Cash on Delivery', 'RAZORPAY' => 'RazorPay', 'UPI' => 'UPI', 'PAYU' => 'PayU', 'GIFT' => 'Gift Voucher', ]; $formattedPayment = $paymentLabels[strtoupper($firstPayment)] ?? ucfirst(strtolower($firstPayment)); @endphp

Order Summary (Payment Type: {{ $formattedPayment }})

@else

Order Summary

@endif
@if($invoice_data_individual != null) @php $no = 1; $rs = '/-'; $pt = '%'; @endphp @foreach($invoice_data_individual as $value4) @if($value4->product_type != 'mela') @else @endif @php $no++; @endphp @endforeach {{-- Totals Section --}} @if ($value4->payment_type == 'upi') @if($value4->coupon_applied == 'UTHHAN') @else @endif @elseif ($value4->payment_type === 'PayU' || $value4->payment_type === 'RazorPay') @php $subtotal = $product_price_sum; $delivery = trim($delivery_charge_value['delivery_cost'] ?? 0); $shipping = $shipping_charge; $discount = 0; $extraDiscount = 0; // Coupon + category wise discount if($value4->coupon_applied == 'UTHHAN' && $value4->express_product_category == 'Baazar') { $discount = round($subtotal * 15 / 100); } elseif($value4->coupon_applied == 'UTHHAN') { $discount = round($subtotal * 10 / 100); } elseif($value4->express_product_category == 'Baazar') { $discount = round($subtotal * 5 / 100); } // Base total after coupon $grandtotal = ($subtotal + $delivery + $shipping) - $discount; // Flat ₹50 discount if total ≥ 500 if($subtotal >= 500) { $extraDiscount = 50; $grandtotal -= 50; } @endphp @if($discount > 0) @endif @if($extraDiscount > 0) @endif @else {{-- COD and other payment types --}} {{-- Discount conditions --}} @if ($express_product_category != null && $coupon_applied != null) @elseif ($coupon_applied != null && $express_product_category1 != null) @elseif ($express_product_category1 != null) @elseif ($coupon_applied != null) @elseif ($express_product_category != null) @else @endif @endif @else @endif
SL.No. Name Price (₹) Quantity Color Gst (inclusive) Total
{{ $no }} {{ $value4->product_name }} {{ $value4->product_price }} {{ $value4->product_quantity }} {{ $value4->product_new_color }} {{ $value4->gst . $pt }} {{ $value4->product_price * $value4->product_quantity }}
{{ $no }} {!! $value4->product_name !!} {{ $value4->product_type }} {{ $value4->product_price }} {{ $value4->product_quantity }} {{ $value4->gst . $pt }} {{ $value4->product_price * $value4->product_quantity }} (₹)
Sub Total {{ $product_price_sum }} ₹
Delivery Charge {{ (trim($delivery_charge_value['delivery_cost']) + $shipping_charge) }} (₹)
Discount {{ round($product_price_sum*10/100) }} (₹)
Grand Total {{ round(($product_price_sum + trim($delivery_charge_value['delivery_cost']) + $shipping_charge) - ($product_price_sum*10/100)) }} ₹
Discount 0 ₹
Grand Total {{ ($product_price_sum + trim($delivery_charge_value['delivery_cost']) + $shipping_charge) - $value4->discount }} ₹
Sub Total {{ $subtotal }} ₹
Delivery Charge {{ $delivery + $shipping }} ₹
Coupon Discount - {{ $discount }} ₹
Extra Discount - {{ $extraDiscount }} ₹
Grand Total {{ $grandtotal }} ₹
Sub Total {{ $product_price_sum }} ₹
Delivery Charge {{ trim($delivery_charge_value['delivery_cost']) + $shipping_charge }} ₹
COD charges {{ round($product_price_sum * 2 / 100) }} ₹
Discounted Price {{ round($product_price_sum * 15 / 100) }} ₹
Grand Total {{ round(($product_price_sum * 1.02 + trim($delivery_charge_value['delivery_cost']) + $shipping_charge) - round($product_price_sum * 15 / 100)) }} ₹
Discounted Price {{ round($product_price_sum * 10 / 100) }} ₹
Grand Total {{ round(($product_price_sum * 1.02 + trim($delivery_charge_value['delivery_cost']) + $shipping_charge) - round($product_price_sum * 10 / 100)) }} ₹
Grand Total {{ round($product_price_sum * 1.02 + trim($delivery_charge_value['delivery_cost']) + $shipping_charge) }} ₹
Discounted Price {{ round($product_price_sum * 10 / 100) }} ₹
Grand Total {{ round(($product_price_sum * 1.02 + trim($delivery_charge_value['delivery_cost']) + $shipping_charge) - round($product_price_sum * 10 / 100)) }} ₹
Discounted Price {{ round($product_price_sum * 5 / 100) }} ₹
Grand Total {{ round(($product_price_sum * 1.02 + trim($delivery_charge_value['delivery_cost']) + $shipping_charge) - round($product_price_sum * 5 / 100)) }} ₹
Grand Total {{ round($product_price_sum * 1.02 + trim($delivery_charge_value['delivery_cost']) + $shipping_charge) }} ₹
No products found, Products may have been cancelled



₹ Uthhan Store | A marketplace for all kinds of Handmade items directly from the Artisans