@extends('layouts.app') @section('content')
| Invoice No | Method | Amount | Status | Created At | Updated At | Paid Date | User Info | Is Send? | Is Warning? | Is Remove? | Link | Action | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| #{{ $row->invoice_no }} | {{ !empty($row->method->name) ? $row->method->name : '' }} |
{{ $row->email }}
|
{{ sprintf("$%0.2f", $row->grand_total) }} | @if ($row->status == 'pending') {{ strFilter($row->status) }} @elseif($row->status == 'unpaid') {{ strFilter($row->status) }} @elseif($row->status == 'delete') {{ strFilter($row->status) }} @else {{ strFilter($row->status) }} @endif | {{ !empty($row->created) ? date('d F, Y', strtotime($row->created)) : '' }} | {{ !empty($row->updated) ? date('d F, Y', strtotime($row->updated)) : '' }} | {{ !empty($row->payment_date) ? date('d F, Y', strtotime($row->payment_date)) : '' }} | {{ !empty($row->admin->name) ? $row->admin->name : '' }} | @if ($row->is_send > 0) {{ $row->is_send }} @else No @endif | @if ($row->is_warning > 0) {{ $row->is_warning }} @else No @endif | @if ($row->is_remove > 0) {{ $row->is_remove }} @else No @endif | Copy |
|
| Total | {{ sprintf("$%0.2f", $allAmount) }} | ||||||||||||