Details
{{-- --}} @if (canCreate('Opening')) @if (isset($data['is_edit']) && $data['is_edit'] == 0) @endif @endif
@if ($data['opening']['type'] == 'FINISH') {{-- --}} @elseif ($data['opening']['type'] == 'ROW MATERIAL') {{-- --}} @elseif ($data['opening']['type'] == 'BANK_AND_CASH') @if ($data['opening_details'][0]['cash_bank_type'] == 'BANK') @endif @else @endif @if (!empty($data['opening_details']) && count($data['opening_details']) > 0) @foreach ($data['opening_details'] as $item) @if ($data['opening']['type'] == 'FINISH') {{-- --}} @elseif ($data['opening']['type'] == 'ROW MATERIAL') {{-- --}} @elseif ($data['opening']['type'] == 'BANK_AND_CASH') @if ($data['opening_details'][0]['cash_bank_type'] == 'BANK') @endif @else @endif @endforeach @else @endif
ItemsAmountWeight Cost Amount Discount Final AmountMaterial Purity Weight Net AmountRemarkBank Name Bank Account No IFSC Code Amount Amount Type
{{ $item['item_name'] }}{{ $item['amount'] }}{{ $item['gross_weight'] }} {{ $item['gross_amount'] }} {{ $item['discount_per'] }}% {{ unicodeToChar($data['opening']['currency_code'] ?? '₹') }}{{ $item['net_amount'] }} {{ $item['material_name'] }} {{ $item['purity_name'] }} {{ $item['net_weight'] }} {{ unicodeToChar($data['opening']['currency_code'] ?? '₹') }}{{ $item['net_amount'] }} {{ $item['remark'] }}{{ $item['bank_name'] }} {{ $item['bank_account_no'] }} {{ $item['ifsc_code'] }} {{ unicodeToChar($data['opening']['currency_code'] ?? '₹') }}{{ $item['cash_bank_amount'] }} {{ $item['cash_bank_amount_type'] }}
@php $totalItems = count($data['opening_details']); $totalPcs = collect($data['opening_details'])->sum('pcs'); $totalDiscount = collect($data['opening_details'])->sum('discount_amount'); $totalamount = collect($data['opening_details'])->sum('cash_bank_amount'); $totalNet = collect($data['opening_details'])->sum('net_amount'); @endphp

Sales Order Summary

@if ($data['opening']['type'] == 'BANK_AND_CASH') @else @endif
Total Items : {{ $totalItems }}
Total Pcs : {{ $totalPcs }}
Discount Amount : {{ unicodeToChar($data['opening']['currency_code'] ?? '₹') }}{{ number_format($totalDiscount, 2) }}
Gst Amount : {{ unicodeToChar($data['opening']['currency_code'] ?? '₹') }}0.00
Net Amount :{{ unicodeToChar($data['opening']['currency_code'] ?? '₹') }}{{ number_format($totalamount, 2) }} {{ unicodeToChar($data['opening']['currency_code'] ?? '₹') }}{{ number_format($totalNet, 2) }}