@extends('layouts.main') @section('content')
@csrf @method('post')

{{ config('app.name', 'Laravel') }} {{ __('Date') }}: {{ Carbon\Carbon::now()->isoFormat('LL') }}

{{ __('Quantity') }} {{ __('Product') }} {{ __('Description') }} {{ __('Subtotal') }}
1 {{ $product->quantity }} {{ strtolower($product->type) == 'credits' ? $credits_display_name : $product->type }} {{ $product->description }} {{ $product->formatToCurrency($product->price) }}
@if (!$productIsFree)

{{ __('Payment Methods') }}:

@foreach ($paymentGateways as $gateway)
@endforeach
@endif

{{ __('Amount Due') }} {{ Carbon\Carbon::now()->isoFormat('LL') }}

@if ($discountpercent && $discountvalue) @endif
{{ __('Discount') }} ({{ $discountpercent }}%): {{ $product->formatToCurrency($discountvalue) }}
{{ __('Subtotal') }}: {{ $product->formatToCurrency($discountedprice) }}
{{ __('Tax') }} ({{ $taxpercent }}%): {{ $product->formatToCurrency($taxvalue) }}
{{ __('Total') }}: {{ $product->formatToCurrency($total) }}
@endsection