1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 16:13:20 +01:00
invoiceninja/resources/views/partials/variables_help.blade.php
2018-02-20 21:30:55 +02:00

86 lines
2.7 KiB
PHP

<div class="col-md-6">
<ul>
@if ($entityType === ENTITY_QUOTE)
<li>$quote.quoteNumber</li>
<li>$quote.quoteDate</li>
<li>$quote.validUntil</li>
@elseif ($entityType === ENTITY_INVOICE)
<li>$invoice.invoiceNumber</li>
<li>$invoice.invoiceDate</li>
<li>$invoice.dueDate</li>
@endif
<li>${{ $entityType }}.discount</li>
<li>${{ $entityType }}.poNumber</li>
<li>${{ $entityType }}.publicNotes</li>
<li>${{ $entityType }}.amount</li>
<li>${{ $entityType }}.terms</li>
<li>${{ $entityType }}.footer</li>
<li>${{ $entityType }}.partial</li>
<li>${{ $entityType }}.partialDueDate</li>
@if ($account->custom_invoice_label1)
<li>${{ $entityType }}.customValue1</li>
@endif
@if ($account->custom_invoice_label2)
<li>${{ $entityType }}.customValue2</li>
@endif
@if ($account->custom_invoice_text_label1)
<li>${{ $entityType }}.customTextValue1</li>
@endif
@if ($account->custom_invoice_text_label2)
<li>${{ $entityType }}.customTextValue2</li>
@endif
</ul>
<ul>
<li>$account.name</li>
<li>$account.idNumber</li>
<li>$account.vatNumber</li>
<li>$account.address1</li>
<li>$account.address2</li>
<li>$account.city</li>
<li>$account.state</li>
<li>$account.postalCode</li>
<li>$account.country.name</li>
<li>$account.phone</li>
@if ($account->custom_label1)
<li>$account.customValue1</li>
@endif
@if ($account->custom_label2)
<li>$account.customValue2</li>
@endif
</ul>
</ul>
</div>
<div class="col-md-6">
<ul>
<li>$client.name</li>
<li>$client.idNumber</li>
<li>$client.vatNumber</li>
<li>$client.address1</li>
<li>$client.address2</li>
<li>$client.city</li>
<li>$client.state</li>
<li>$client.postalCode</li>
<li>$client.country.name</li>
<li>$client.phone</li>
<li>$client.balance</li>
@if ($account->custom_client_label1)
<li>$client.customValue1</li>
@endif
@if ($account->custom_client_label2)
<li>$client.customValue2</li>
@endif
</ul>
<ul>
<li>$contact.firstName</li>
<li>$contact.lastName</li>
<li>$contact.email</li>
<li>$contact.phone</li>
@if ($account->custom_contact_label1)
<li>$contact.customValue1</li>
@endif
@if ($account->custom_contact_label2)
<li>$contact.customValue2</li>
@endif
</ul>
</div>