@extends('layouts.app') @section('content')
Date | Branch | Customer | Inventory Item | Rate | Quantity | Amount | @foreach($discounts as $discount)
---|---|---|---|---|---|---|
{{ date('d M, Y',strtotime($discount->date)) }} | {{ $discount?->summary?->branch?->name }} | {{ $discount?->customer?->name }} | {{ $discount?->inventory?->name }} | {{ $discount->discount_rate ? number_format($discount->discount_rate) : 0 }} | {{ $discount->quantity ? number_format($discount->quantity) : 0 }} | {{ $discount->total_discount ? number_format($discount->total_discount) : 0 }} |