mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Hide recurrence if start date is blank
This commit is contained in:
parent
5b5e4ee5f3
commit
5b564efe1e
@ -293,7 +293,7 @@
|
||||
@if (isset($lastSent) && $lastSent)
|
||||
{!! trans('texts.last_sent_on', ['date' => link_to('/invoices/'.$lastSent->public_id, $invoice->last_sent_date, ['id' => 'lastSent'])]) !!} <p/>
|
||||
@endif
|
||||
@if ($invoice->is_recurring)
|
||||
@if ($invoice->is_recurring && $invoice->start_date)
|
||||
{!! trans('texts.next_send_on', ['date' => '<span data-bind="tooltip: {title: \''.$invoice->getPrettySchedule().'\', html: true}">'.$account->formatDate($invoice->getNextSendDate() ?: $invoice->start_date).
|
||||
'<span class="glyphicon glyphicon-info-sign" style="padding-left:10px;color:#B1B5BA"></span></span>']) !!}
|
||||
@if ($invoice->getDueDate())
|
||||
|
Loading…
x
Reference in New Issue
Block a user