@extends('layouts/contentNavbarLayout') @section('title', 'Billing - Billing History') @section('page-style') @endsection @section('content') {{--
| # | @if (in_array(auth()->user()->role_id, [1, 5]))Customer | @endifProduct | Quantity | Amount | Currency | Payment | Payment Date | @if (in_array(auth()->user()->role_id, [1, 5]))Is view | Commission Given | Actions | @endif
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | @if (in_array(auth()->user()->role_id, [1, 5]))
{{ $value->users->name ?? 'N/A' }} |
@endif
{{ $value->products->name ?? '' }} | {{ $value->product_qty ?? 'N/A' }} | ${{ $value->amount ?? 'N/A' }} | {{ strtoupper($value->currency ?? '') }} | @if ($value->status === 'succeeded') Success @endif | {{ $value->created_at->format('m-d-Y h:i') }} | @if (in_array(auth()->user()->role_id, [1, 5])){{ $value->is_viewed == 0 ? 'No' : 'Yes' }} | {{ $value->is_commission_given == 0 ? 'No' : 'Yes' }} |
|
@endif