@extends('layouts.admin') @section('title', 'New sale | Mintavia Admin') @section('content')

Coupon Bill Edit Screen

@csrf
@foreach ($accounts as $account) @endforeach

@foreach ($brand as $brands) @endforeach
@php $entries = $coupons ->map(function ($item) { return [ 'id' => $item->id, 'brand_id' => $item->brand_id, 'brand_name' => $item->brand ? $item->brand->brand_name : '', 'coupon_qty' => $item->coupon_qty, 'coupon_amt' => $item->coupon_amt, 'total_amt' => number_format( $item->coupon_qty * $item->coupon_amt, 2, ), ]; }) ->toArray(); @endphp @foreach ($coupons as $index => $entry) @endforeach
Brand Coupon Qty Coupon Amount Total Amount Action
{{ $entry->brand->brand_name ?? '' }} {{ $entry->coupon_qty }} {{ $entry->coupon_amt }} {{ number_format($entry->coupon_qty * $entry->coupon_amt, 2) }}
Total 0 0.00 0.00
Close
@endsection @section('js') @endsection