@extends('customers.layout') @section('customers.content')
ID: {{$supplier->id}}
Name: {{ $supplier->name ?: "-" }}
Contact: {{ $supplier->contact ?: "-" }}
Alt Contact: {{ $supplier->alt_contact ?: "-" }}
Balance: {{ $supplier->balance ?: "-" }}
Created at {{Carbon\Carbon::parse($supplier->created_at)->format('d/m/Y H:i:s')}}
Updated at {{Carbon\Carbon::parse($supplier->updated_at)->format('d/m/Y H:i:s')}}
@foreach($supplier->intakes as $intake) @endforeach
Date Branch Inventory Item Rate Quantity Amount
{{ date('d-M-Y',strtotime($intake->date)) }} {{ $intake->branch?->name }} {{ $intake->inventory?->name }} {{ $intake->rate ? number_format($intake->supplier_rate) : 0 }} {{ $intake->quantity ? number_format($intake->quantity) : 0 }} UGX {{ (($intake->amount)?number_format($intake->supplier_rate * $intake->quantity) : 0) }} Edit
@foreach($supplier->payments as $payment) @endforeach
Date Amount Balance
{{ date('d-M-Y',strtotime($payment->date)) }} {{ (($payment->amount)?number_format($payment->amount) : '0') }} {{ (($payment->amount)?number_format($payment->balance):'0') }} @can('edit payments') Edit @endcan
{{--
For that very reason, I went on a quest and spoke to many different professional graphic designers and asked them what graphic design tips they live.
After gathering lots of different opinions and graphic design basics, I came up with a list of 30 graphic design tips that you can start implementing.
--}}
@endsection