@extends('emails.master') @section('markup') @if ($account->emailMarkupEnabled()) @include('emails.partials.client_view_action') @endif @stop @section('content')  

@if ($invoice->due_date) @if ($invoice->isQuote()) {{ strtoupper(trans('texts.valid_until')) }} {{ $account->formatDate($invoice->due_date) }} @else @if ($account->hasCustomLabel('due_date')) {{ $account->getLabel('due_date') }} {{ $account->formatDate($invoice->partial_due_date ?: $invoice->due_date) }} @else {{ utrans('texts.due_by', ['date' => $account->formatDate($invoice->partial_due_date ?: $invoice->due_date)]) }} @endif @endif
@endif {{ trans("texts.{$entityType}") }} {{ $invoice->invoice_number }}

@if (! isset($isRefund) || ! $isRefund) {{ strtoupper(trans('texts.' . $invoice->present()->balanceDueLabel)) }}:
{{ $account->formatMoney($invoice->getRequestedAmount(), $client) }} @endif

{!! $body !!}
@stop @section('footer')

@if (! $account->isPaid()) {!! trans('texts.ninja_email_footer', ['site' => link_to(NINJA_WEB_URL . '?utm_source=email_footer', APP_NAME)]) !!} @else {{ $account->present()->address }}
@if ($account->website) {{ $account->website }} @endif @endif

@stop