@extends('layouts.new_theme') @section('content')
{{__('Total number of invoices')}}: {{ $invoices->total() }}
| {{ __('Order Id') }} | {{ __('User') }} | {{ __('Amount') }} | {{ __('Coupon Code') }} | {{ __('Discount ') }} | {{ __('Payment Status') }} | {{ __('Status') }} | {{ __('Invoice Date') }} | |||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $invoice->orders->order_id }} | {{ $invoice->user->first_name }} | {{ number_format($invoice->amount, 2) }} {{$invoice->currency}} | @if($invoice->coupon_code){{ __($invoice->coupon_code) }} | {{ number_format($invoice->discount_amount, 2) }} {{$invoice->currency}} | @else{{ __("NA") }} | {{ __("NA") }} | @endif{{ __($invoice->payment_status) }} | @if ($invoice->is_renew == true){{ __('Renew') }} | @else{{ __('Normal') }} | @endif{{ \Carbon\Carbon::parse($invoice->created_at)->format('d/m/Y g:i A') }} |