@extends('layouts.app') @section('header')
| Transaction ID | Date | Sales ID | Customer | Grand total | Paid | Balance | Due |
|---|---|---|---|---|---|---|---|
| {{ $value->id }} | {{ \Carbon\Carbon::parse($value->created_at)->format('jS M Y') }} | {{ $value->sales_id }} | {{ isset($value->customer->customer_name) ? $value->customer->customer_name : '' }} | {{ $value->subtotal }} | {{ $value->payment }} | {{ $value->balance }} | {{ $value->due }} |
| Report Date : | {{ $data['from']->format('jS M Y') }} - {{ $data['to']->format('jS M Y') }} | ||||||
| Total Purchase: | {{ $total['purchase'] }} | ||||||
| Paid Purchase: | {{ $total['payment'] }} | ||||||
| Balance Purchase: | {{ $total['balance'] }} | ||||||
| Due Purchase: | {{ $total['due'] }} |