@extends('layouts.guest') @section('title', $title) @section('content')
@if(!empty($transaction->business->logo)) @endif
Logo
{{ $transaction->business->name }}
{{ $transaction->location->name ?? '' }} @if(!empty($transaction->location->landmark))
{{$transaction->location->landmark}} @endif @if(!empty($transaction->location->city) || !empty($transaction->location->state) || !empty($transaction->location->country))
{{implode(',', array_filter([$transaction->location->city, $transaction->location->state, $transaction->location->country]))}} @endif @if(!empty($transaction->business->tax_number_1))
{{$transaction->business->tax_label_1}}: {{$transaction->business->tax_number_1}} @endif @if(!empty($transaction->business->tax_number_2))
{{$transaction->business->tax_label_2}}: {{$transaction->business->tax_number_2}} @endif @if(!empty($transaction->location->mobile))
@lang('contact.mobile'): {{$transaction->location->mobile}} @endif @if(!empty($transaction->location->email))
@lang('business.email'): {{$transaction->location->email}} @endif

@lang('lang_v1.payment_for_invoice_no'): {{$transaction->invoice_no}}

@lang('contact.customer'):
{!!$transaction->contact->contact_address!!}
@lang('sale.sale_date'): {{$date_formatted}}

@lang('sale.total_amount'): {{$total_amount}}

@lang('sale.total_paid'): {{$total_paid}}

@if($transaction->payment_status != 'paid')

@lang('sale.total_payable'): {{$total_payable_formatted}}

{{ csrf_field() }}
@if(!empty($pos_settings['stripe_public_key']) && !empty($pos_settings['stripe_secret_key'])) @php $code = strtolower($business_details->currency_code); @endphp
{{ csrf_field() }}
@endif @else

@lang('sale.payment_status'): @lang('lang_v1.paid')

@endif
@endsection