mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Move invoice sent last, send next, due next stats to third column
This commit is contained in:
parent
2eecccad77
commit
21888f6bca
@ -124,30 +124,6 @@
|
|||||||
|
|
||||||
@if ($account->showCustomField('custom_invoice_text_label1', $invoice))
|
@if ($account->showCustomField('custom_invoice_text_label1', $invoice))
|
||||||
{!! Former::text('custom_text_value1')->label($account->custom_invoice_text_label1)->data_bind("value: custom_text_value1, valueUpdate: 'afterkeydown'") !!}
|
{!! Former::text('custom_text_value1')->label($account->custom_invoice_text_label1)->data_bind("value: custom_text_value1, valueUpdate: 'afterkeydown'") !!}
|
||||||
@endif
|
|
||||||
|
|
||||||
@if ($entityType == ENTITY_INVOICE)
|
|
||||||
<div class="form-group" style="margin-bottom: 8px">
|
|
||||||
<div class="col-lg-8 col-sm-8 col-sm-offset-4" style="padding-top: 10px">
|
|
||||||
@if ($invoice->recurring_invoice)
|
|
||||||
{!! trans('texts.created_by_invoice', ['invoice' => link_to('/invoices/'.$invoice->recurring_invoice->public_id, trans('texts.recurring_invoice'))]) !!}
|
|
||||||
@elseif ($invoice->id)
|
|
||||||
<span class="smaller">
|
|
||||||
@if (isset($lastSent) && $lastSent)
|
|
||||||
{!! trans('texts.last_sent_on', ['date' => link_to('/invoices/'.$lastSent->public_id, $invoice->last_sent_date, ['id' => 'lastSent'])]) !!} <br/>
|
|
||||||
@endif
|
|
||||||
@if ($invoice->is_recurring && $invoice->getNextSendDate())
|
|
||||||
{!! trans('texts.next_send_on', ['date' => '<span data-bind="tooltip: {title: \''.$invoice->getPrettySchedule().'\', html: true}">'.$account->formatDate($invoice->getNextSendDate()).
|
|
||||||
'<span class="glyphicon glyphicon-info-sign" style="padding-left:10px;color:#B1B5BA"></span></span>']) !!}
|
|
||||||
@if ($invoice->getDueDate())
|
|
||||||
<br>
|
|
||||||
{!! trans('texts.next_due_on', ['date' => '<span>'.$account->formatDate($invoice->getDueDate($invoice->getNextSendDate())).'</span>']) !!}
|
|
||||||
@endif
|
|
||||||
@endif
|
|
||||||
</span>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -173,7 +149,30 @@
|
|||||||
@if ($account->showCustomField('custom_invoice_text_label2', $invoice))
|
@if ($account->showCustomField('custom_invoice_text_label2', $invoice))
|
||||||
{!! Former::text('custom_text_value2')->label($account->custom_invoice_text_label2)->data_bind("value: custom_text_value2, valueUpdate: 'afterkeydown'") !!}
|
{!! Former::text('custom_text_value2')->label($account->custom_invoice_text_label2)->data_bind("value: custom_text_value2, valueUpdate: 'afterkeydown'") !!}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if ($entityType == ENTITY_INVOICE)
|
||||||
|
<div class="form-group" style="margin-bottom: 8px">
|
||||||
|
<div class="col-lg-8 col-sm-8 col-sm-offset-4" style="padding-top: 10px">
|
||||||
|
@if ($invoice->recurring_invoice)
|
||||||
|
{!! trans('texts.created_by_invoice', ['invoice' => link_to('/invoices/'.$invoice->recurring_invoice->public_id, trans('texts.recurring_invoice'))]) !!}
|
||||||
|
@elseif ($invoice->id)
|
||||||
|
<span class="smaller">
|
||||||
|
@if (isset($lastSent) && $lastSent)
|
||||||
|
{!! trans('texts.last_sent_on', ['date' => link_to('/invoices/'.$lastSent->public_id, $invoice->last_sent_date, ['id' => 'lastSent'])]) !!} <br/>
|
||||||
|
@endif
|
||||||
|
@if ($invoice->is_recurring && $invoice->getNextSendDate())
|
||||||
|
{!! trans('texts.next_send_on', ['date' => '<span data-bind="tooltip: {title: \''.$invoice->getPrettySchedule().'\', html: true}">'.$account->formatDate($invoice->getNextSendDate()).
|
||||||
|
'<span class="glyphicon glyphicon-info-sign" style="padding-left:10px;color:#B1B5BA"></span></span>']) !!}
|
||||||
|
@if ($invoice->getDueDate())
|
||||||
|
<br>
|
||||||
|
{!! trans('texts.next_due_on', ['date' => '<span>'.$account->formatDate($invoice->getDueDate($invoice->getNextSendDate())).'</span>']) !!}
|
||||||
|
@endif
|
||||||
|
@endif
|
||||||
|
</span>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user