@extends('layouts.app') @section('content')
Discounts
@foreach($discounts as $discount) @endforeach
Date Branch Customer Inventory Item Rate Quantity Amount
{{ 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 }}
@endsection