Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -1,8 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<emails><template><template_app>nexus</template_app><template_name>staffReplyPending</template_name><template_content_html><![CDATA[{$email->language->addToStack("your_reply_is_pending", FALSE)}<br />
|
||||
<br />
|
||||
<a href='{expression="\IPS\Settings::i()->base_url"}applications/nexus/interface/email/sendDiscard.php?id={$message->id}&key={expression="md5( $message->item()->email_key . $message->date )"}&send=1' style="color: #ffffff; font-family: 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 12px; background: #417ba3; line-height: 32px; padding: 0 10px; display: inline-block; border-radius: 3px;">{$email->language->addToStack("send_it", FALSE)}</a>
|
||||
<a href='{expression="\IPS\Settings::i()->base_url"}applications/nexus/interface/email/sendDiscard.php?id={$message->id}&key={expression="md5( $message->item()->email_key . $message->date )"}&send=0' style="color: #ffffff; font-family: 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 12px; background: #417ba3; line-height: 32px; padding: 0 10px; display: inline-block; border-radius: 3px;">{$email->language->addToStack("discard_it", FALSE)}</a>
|
||||
{{$key = md5( $message->item()->email_key . $message->date );}}
|
||||
<a href='{url="app=nexus&module=support&controller=email&do=sendDiscard&id={$message->id}&key={$key}&send=1" base="front"}' style="color: #ffffff; font-family: 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 12px; background: #417ba3; line-height: 32px; padding: 0 10px; display: inline-block; border-radius: 3px;">{$email->language->addToStack("send_it", FALSE)}</a>
|
||||
<a href='{url="app=nexus&module=support&controller=email&do=sendDiscard&id={$message->id}&key={$key}&send=0" base="front"}' style="color: #ffffff; font-family: 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 12px; background: #417ba3; line-height: 32px; padding: 0 10px; display: inline-block; border-radius: 3px;">{$email->language->addToStack("discard_it", FALSE)}</a>
|
||||
<br />
|
||||
<br />
|
||||
<table width='100%' cellpadding='15' cellspacing='0' border='0' style='background: #f5f5f5'>
|
||||
@@ -18,10 +19,11 @@
|
||||
|
||||
<br />
|
||||
<br />
|
||||
<em style='color: #8c8c8c'>— {setting="board_name"}</em>]]></template_content_html><template_data>$message, $newMessage, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack("your_reply_is_pending", FALSE)}
|
||||
<em style='color: #8c8c8c'>— {setting="board_name"}</em>]]></template_content_html><template_data>$message, $newMessage, $email</template_data><template_content_plaintext><![CDATA[{{$key = md5( $message->item()->email_key . $message->date );}}
|
||||
{$email->language->addToStack("your_reply_is_pending", FALSE)}
|
||||
---
|
||||
{$email->language->addToStack("send_it", FALSE)}: {expression="\IPS\Settings::i()->base_url" raw="true"}applications/nexus/interface/email/sendDiscard.php?id={$message->id}&key={expression="md5( $message->item()->email_key . $message->date )" raw="true"}&send=1
|
||||
{$email->language->addToStack("discard_it", FALSE)} {expression="\IPS\Settings::i()->base_url" raw="true"}applications/nexus/interface/email/sendDiscard.php?id={$message->id}&key={expression="md5( $message->item()->email_key . $message->date )" raw="true"}&send=0
|
||||
{$email->language->addToStack("send_it", FALSE)}: {url="app=nexus&module=support&controller=email&do=sendDiscard&id={$message->id}&key={$key}&send=1" base="front"}
|
||||
{$email->language->addToStack("discard_it", FALSE)} {url="app=nexus&module=support&controller=email&do=sendDiscard&id={$message->id}&key={$key}&send=0" base="front"}
|
||||
---
|
||||
{expression="\IPS\Email::buildPlaintextBody( $newMessage->content() )" raw="true"}
|
||||
---
|
||||
@@ -114,7 +116,7 @@
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$item->linePrice()->toString( $email->language )}</strong>
|
||||
{{if $item->quantity > 1}}
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$item->price} {$email->language->get("each_short")}</span>
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$item->price->toString( $email->language )} {$email->language->get("each_short")}</span>
|
||||
{{endif}}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -147,7 +149,7 @@
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100"}%)
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$tax['amount']}</strong>
|
||||
<strong>{$tax['amount']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
@@ -168,7 +170,7 @@
|
||||
<strong>{$email->language->get('email_paid_by')} {{if $transaction->method}}{$transaction->method->getTitleForLanguage( $email->language )}{{else}}{$email->language->get('account_credit')}{{endif}}</strong>
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 17px; line-height: 21px" align='right'>
|
||||
<strong style="font-size: 1.5em">{$transaction->amount}</strong>
|
||||
<strong style="font-size: 1.5em">{$transaction->amount->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endif}}
|
||||
@@ -250,7 +252,7 @@
|
||||
{$email->language->get("order_details")}
|
||||
=====
|
||||
{{foreach $summary['items'] as $k => $item}}
|
||||
{$item->quantity} x</span> {$item->name} [{$item->price} {$email->language->get("each_short")}] ({$item->linePrice()->toString( $email->language )})
|
||||
{$item->quantity} x</span> {$item->name} [{$item->price->toString( $email->language )} {$email->language->get("each_short")}] ({$item->linePrice()->toString( $email->language )})
|
||||
{{endforeach}}
|
||||
---
|
||||
{$email->language->get('subtotal')}: {$summary['subtotal']->toString( $email->language )}
|
||||
@@ -263,13 +265,13 @@
|
||||
{{if \count( $summary['tax'] )}}
|
||||
---
|
||||
{{foreach $summary['tax'] as $taxId => $tax}}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']->toString( $email->language )}
|
||||
{{endforeach}}
|
||||
{{endif}}
|
||||
---
|
||||
{$email->language->get('total')}: {$summary['total']->toString( $email->language )}
|
||||
{{if $transactions = $invoice->transactions() and \count( $transactions )}}{{foreach $transactions as $transaction}}{{if $transaction->status === $transaction::STATUS_PAID}}
|
||||
{$email->language->get('email_paid_by')} {{if $transaction->method}}{$transaction->method->getTitleForLanguage( $email->language )}{{else}}{$email->language->get('account_credit')}{{endif}}: {$transaction->amount}
|
||||
{$email->language->get('email_paid_by')} {{if $transaction->method}}{$transaction->method->getTitleForLanguage( $email->language )}{{else}}{$email->language->get('account_credit')}{{endif}}: {$transaction->amount->toString( $email->language )}
|
||||
{{endif}}{{endforeach}}{$email->language->get('total_to_pay')}: {$invoice->amountToPay()->toString( $email->language )}
|
||||
{{endif}}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>acp_notification_Withdrawal</template_name><template_content_html><![CDATA[<br />
|
||||
{$email->language->addToStack( "email_notify_withdrawal", FALSE )}
|
||||
@@ -434,7 +436,11 @@
|
||||
{{endif}}
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$item->linePrice()->toString( $email->language )}</strong>
|
||||
{{if $item->tax AND \IPS\Settings::i()->nexus_show_tax}}
|
||||
<strong>{$item->grossLinePrice()->toString( $email->language)}</strong> {{if $email->language->checkKeyExists('nexus_tax_explain_val')}}<span style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 12px; color: #bdbdbd; line-height: 18px;">{$email->language->get('nexus_tax_explain_val')}</span>{{endif}}
|
||||
{{else}}
|
||||
<strong>{$item->linePrice()->toString( $email->language )}</strong>
|
||||
{{endif}}
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
@@ -464,7 +470,7 @@
|
||||
{{endif}}
|
||||
|
||||
{$email->language->get("email_expiring_soon")}:
|
||||
{{foreach $summary['items'] as $k => $item}}{$item->quantity} x</span> {$item->name} ({$item->linePrice()->toString( $email->language )}) - {$email->language->addToStack('ps_expire', FALSE)}: {expression="\IPS\nexus\Purchase::load( $item->id )->expire->localeDate( $invoice->member )" raw="true"}
|
||||
{{foreach $summary['items'] as $k => $item}}{$item->quantity} x {$item->name} ({{if $item->tax AND \IPS\Settings::i()->nexus_show_tax}}{$item->grossLinePrice()->toString( $email->language)} {{if $email->language->checkKeyExists('nexus_tax_explain_val')}}{$email->language->get('nexus_tax_explain_val')}{{endif}}{{else}}{$item->linePrice()->toString( $email->language )}{{endif}}) - {$email->language->addToStack('ps_expire', FALSE)}: {expression="\IPS\nexus\Purchase::load( $item->id )->expire->localeDate( $invoice->member )" raw="true"}
|
||||
{{endforeach}}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>monitoring_reset</template_name><template_content_html><![CDATA[
|
||||
{expression="$email->language->addToStack( 'monitor_email_intro', FALSE, array( 'sprintf' => \IPS\Settings::i()->board_name ) )"}
|
||||
<br />
|
||||
@@ -603,7 +609,7 @@
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$item->linePrice()->toString( $email->language )}</strong>
|
||||
{{if $item->quantity > 1}}
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$item->price} {$email->language->get("each_short")}</span>
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$item->price->toString( $email->language )} {$email->language->get("each_short")}</span>
|
||||
{{endif}}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -636,7 +642,7 @@
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100"}%)
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$tax['amount']}</strong>
|
||||
<strong>{$tax['amount']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
@@ -657,7 +663,7 @@
|
||||
<strong>{$email->language->get('email_paid_by')} {{if $transaction->method}}{$transaction->method->getTitleForLanguage( $email->language )}{{else}}{$email->language->get('account_credit')}{{endif}}</strong>
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 17px; line-height: 21px" align='right'>
|
||||
<strong style="font-size: 1.5em">{$transaction->amount}</strong>
|
||||
<strong style="font-size: 1.5em">{$transaction->amount->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endif}}
|
||||
@@ -691,7 +697,7 @@
|
||||
{$email->language->get("order_details")}
|
||||
=====
|
||||
{{foreach $summary['items'] as $k => $item}}
|
||||
{$item->quantity} x</span> {$item->name} [{$item->price} {$email->language->get("each_short")}] ({$item->linePrice()->toString( $email->language )})
|
||||
{$item->quantity} x</span> {$item->name} [{$item->price->toString( $email->language )} {$email->language->get("each_short")}] ({$item->linePrice()->toString( $email->language )})
|
||||
{{endforeach}}
|
||||
---
|
||||
{$email->language->get('subtotal')}: {$summary['subtotal']->toString( $email->language )}
|
||||
@@ -704,13 +710,13 @@
|
||||
{{if \count( $summary['tax'] )}}
|
||||
---
|
||||
{{foreach $summary['tax'] as $taxId => $tax}}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']->toString( $email->language )}
|
||||
{{endforeach}}
|
||||
{{endif}}
|
||||
---
|
||||
{$email->language->get('total')}: {$summary['total']->toString( $email->language )}
|
||||
{{if $transactions = $invoice->transactions() and \count( $transactions )}}{{foreach $transactions as $transaction}}{{if $transaction->status === $transaction::STATUS_PAID}}
|
||||
{$email->language->get('email_paid_by')} {{if $transaction->method}}{$transaction->method->getTitleForLanguage( $email->language )}{{else}}{$email->language->get('account_credit')}{{endif}}: {$transaction->amount}
|
||||
{$email->language->get('email_paid_by')} {{if $transaction->method}}{$transaction->method->getTitleForLanguage( $email->language )}{{else}}{$email->language->get('account_credit')}{{endif}}: {$transaction->amount->toString( $email->language )}
|
||||
{{endif}}{{endforeach}}
|
||||
{{endif}}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>unsubscribeStaffNotify</template_name><template_content_html><![CDATA[<tr>
|
||||
<td dir='{dir}' valign="top"><img src='{setting="base_url"}applications/core/interface/email/spacer.png' width='1' height='1' alt=''></td>
|
||||
@@ -884,7 +890,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td dir='{dir}' width="150" align='right' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"><strong>{$email->language->addToStack("amount", FALSE)}</strong></td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"> {$transaction->amount}</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"> {$transaction->amount->toString( $email->language )}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
@@ -934,7 +940,7 @@
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$item->linePrice()->toString( $email->language )}</strong>
|
||||
{{if $item->quantity > 1}}
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price ) ) )}</span>
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price->toString( $email->language ) ) ) )}</span>
|
||||
{{endif}}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -967,7 +973,7 @@
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100"}%)
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$tax['amount']}</strong>
|
||||
<strong>{$tax['amount']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
@@ -1008,12 +1014,12 @@
|
||||
{$email->language->addToStack("email_payment_method", FALSE)}: {{if $transaction->method}}{$transaction->method->getTitleForLanguage( $email->language )}{{else}}{$email->language->addToStack("account_credit", FALSE)}{{endif}}
|
||||
{$email->language->addToStack("email_transaction_id", FALSE)}: {$transaction->gw_id}
|
||||
{$email->language->addToStack("date", FALSE)}: {$transaction->date}
|
||||
{$email->language->addToStack("amount", FALSE)}: {$transaction->amount}
|
||||
{$email->language->addToStack("amount", FALSE)}: {$transaction->amount->toString( $email->language )}
|
||||
|
||||
{$email->language->addToStack("order_details", FALSE)}
|
||||
===
|
||||
{{foreach $invoiceSummary['items'] as $k => $item}}
|
||||
{$item->quantity} x</span> {$item->name} [{$email->language->addToStack("each_short", FALSE, array( 'htmlsprintf' => array( $item->price ) ) )}] ({$item->linePrice()->toString( $email->language )})
|
||||
{$item->quantity} x</span> {$item->name} [{$email->language->addToStack("each_short", FALSE, array( 'htmlsprintf' => array( $item->price->toString( $email->language ) ) ) )}] ({$item->linePrice()->toString( $email->language )})
|
||||
{{endforeach}}
|
||||
---
|
||||
{$email->language->get('subtotal')}: {$invoiceSummary['subtotal']->toString( $email->language )}
|
||||
@@ -1026,7 +1032,7 @@
|
||||
{{if \count( $invoiceSummary['tax'] )}}
|
||||
---
|
||||
{{foreach $invoiceSummary['tax'] as $taxId => $tax}}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']->toString( $email->language )}
|
||||
{{endforeach}}
|
||||
{{endif}}
|
||||
---
|
||||
@@ -1338,7 +1344,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td dir='{dir}' width="150" align='right' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"><strong>{$email->language->addToStack("t_amount", FALSE)}</strong></td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"> {$transaction->amount}</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"> {$transaction->amount->toString( $email->language )}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
@@ -1388,7 +1394,7 @@
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$item->linePrice()->toString( $email->language )}</strong>
|
||||
{{if $item->quantity > 1}}
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price ) ) )}</span>
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price->toString( $email->language ) ) ) )}</span>
|
||||
{{endif}}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -1421,7 +1427,7 @@
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100"}%)
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$tax['amount']}</strong>
|
||||
<strong>{$tax['amount']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
@@ -1464,12 +1470,12 @@
|
||||
{$email->language->addToStack("email_payment_method", FALSE)}: {{if $transaction->method}}{$transaction->method->getTitleForLanguage( $email->language )}{{else}}{$email->language->addToStack("account_credit", FALSE)}{{endif}}
|
||||
{$email->language->addToStack("email_transaction_id", FALSE)}: {$transaction->gw_id}
|
||||
{$email->language->addToStack("date", FALSE)}: {$transaction->date}
|
||||
{$email->language->addToStack("amount", FALSE)}: {$transaction->amount}
|
||||
{$email->language->addToStack("amount", FALSE)}: {$transaction->amount->toString( $email->language )}
|
||||
|
||||
{$email->language->addToStack("order_details", FALSE)}
|
||||
===
|
||||
{{foreach $invoiceSummary['items'] as $k => $item}}
|
||||
{$item->quantity} x</span> {$item->name} [{$email->language->addToStack("each_short", FALSE, array( 'htmlsprintf' => array( $item->price ) ) )}] ({$item->linePrice()->toString( $email->language )})
|
||||
{$item->quantity} x</span> {$item->name} [{$email->language->addToStack("each_short", FALSE, array( 'htmlsprintf' => array( $item->price->toString( $email->language ) ) ) )}] ({$item->linePrice()->toString( $email->language )})
|
||||
{{endforeach}}
|
||||
---
|
||||
{$email->language->get('subtotal')}: {$invoiceSummary['subtotal']->toString( $email->language )}
|
||||
@@ -1482,7 +1488,7 @@
|
||||
{{if \count( $invoiceSummary['tax'] )}}
|
||||
---
|
||||
{{foreach $invoiceSummary['tax'] as $taxId => $tax}}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']->toString( $email->language )}
|
||||
{{endforeach}}
|
||||
{{endif}}
|
||||
---
|
||||
@@ -1695,7 +1701,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td dir='{dir}' width="150" align='right' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"><strong>{$email->language->addToStack("amount", FALSE)}</strong></td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"> {$transaction->amount}</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"> {$transaction->amount->toString( $email->language )}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
@@ -1745,7 +1751,7 @@
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$item->linePrice()->toString( $email->language )}</strong>
|
||||
{{if $item->quantity > 1}}
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price ) ) )}</span>
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price->toString( $email->language ) ) ) )}</span>
|
||||
{{endif}}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -1778,7 +1784,7 @@
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100"}%)
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$tax['amount']}</strong>
|
||||
<strong>{$tax['amount']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
@@ -1819,12 +1825,12 @@
|
||||
{$email->language->addToStack("email_payment_method", FALSE)}: {{if $transaction->method}}{$transaction->method->getTitleForLanguage( $email->language )}{{else}}{$email->language->addToStack("account_credit", FALSE)}{{endif}}
|
||||
{$email->language->addToStack("email_transaction_id", FALSE)}: {$transaction->gw_id}
|
||||
{$email->language->addToStack("date", FALSE)}: {$transaction->date}
|
||||
{$email->language->addToStack("amount", FALSE)}: {$transaction->amount}
|
||||
{$email->language->addToStack("amount", FALSE)}: {$transaction->amount->toString( $email->language )}
|
||||
|
||||
{$email->language->addToStack("order_details", FALSE)}
|
||||
===
|
||||
{{foreach $invoiceSummary['items'] as $k => $item}}
|
||||
{$item->quantity} x</span> {$item->name} [{$email->language->addToStack("each_short", FALSE, array( 'htmlsprintf' => array( $item->price ) ) )}] ({$item->linePrice()->toString( $email->language )})
|
||||
{$item->quantity} x</span> {$item->name} [{$email->language->addToStack("each_short", FALSE, array( 'htmlsprintf' => array( $item->price->toString( $email->language ) ) ) )}] ({$item->linePrice()->toString( $email->language )})
|
||||
{{endforeach}}
|
||||
---
|
||||
{$email->language->get('subtotal')}: {$invoiceSummary['subtotal']->toString( $email->language )}
|
||||
@@ -1837,7 +1843,7 @@
|
||||
{{if \count( $invoiceSummary['tax'] )}}
|
||||
---
|
||||
{{foreach $invoiceSummary['tax'] as $taxId => $tax}}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']->toString( $email->language )}
|
||||
{{endforeach}}
|
||||
{{endif}}
|
||||
---
|
||||
@@ -1945,7 +1951,7 @@
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$item->linePrice()->toString( $email->language )}</strong>
|
||||
{{if $item->quantity > 1}}
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price ) ) )}</span>
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price->toString( $email->language ) ) ) )}</span>
|
||||
{{endif}}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -1978,7 +1984,7 @@
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100"}%)
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$tax['amount']}</strong>
|
||||
<strong>{$tax['amount']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
@@ -2018,7 +2024,7 @@
|
||||
{$email->language->addToStack("order_details", FALSE)}
|
||||
===
|
||||
{{foreach $invoiceSummary['items'] as $k => $item}}
|
||||
{$item->quantity} x</span> {$item->name} [{$email->language->addToStack("each_short", FALSE, array( 'htmlsprintf' => array( $item->price ) ) )}] ({$item->linePrice()->toString( $email->language )})
|
||||
{$item->quantity} x</span> {$item->name} [{$email->language->addToStack("each_short", FALSE, array( 'htmlsprintf' => array( $item->price->toString( $email->language ) ) ) )}] ({$item->linePrice()->toString( $email->language )})
|
||||
{{endforeach}}
|
||||
---
|
||||
{$email->language->get('subtotal')}: {$invoiceSummary['subtotal']->toString( $email->language )}
|
||||
@@ -2031,7 +2037,7 @@
|
||||
{{if \count( $invoiceSummary['tax'] )}}
|
||||
---
|
||||
{{foreach $invoiceSummary['tax'] as $tax}}
|
||||
{$tax['name']} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']}
|
||||
{$tax['name']} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']->toString( $email->language )}
|
||||
{{endforeach}}
|
||||
{{endif}}
|
||||
---
|
||||
@@ -2146,7 +2152,7 @@
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$item->linePrice()->toString( $email->language )}</strong>
|
||||
{{if $item->quantity > 1}}
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price ) ) )}</span>
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price->toString( $email->language ) ) ) )}</span>
|
||||
{{endif}}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -2179,7 +2185,7 @@
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100"}%)
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$tax['amount']}</strong>
|
||||
<strong>{$tax['amount']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
@@ -2219,7 +2225,7 @@
|
||||
{$email->language->addToStack("order_details", FALSE)}
|
||||
===
|
||||
{{foreach $invoiceSummary['items'] as $k => $item}}
|
||||
{$item->quantity} x</span> {$item->name} [{$email->language->addToStack("each_short", FALSE, array( 'htmlsprintf' => array( $item->price ) ) )}] ({$item->linePrice()->toString( $email->language )})
|
||||
{$item->quantity} x</span> {$item->name} [{$email->language->addToStack("each_short", FALSE, array( 'htmlsprintf' => array( $item->price->toString( $email->language ) ) ) )}] ({$item->linePrice()->toString( $email->language )})
|
||||
{{endforeach}}
|
||||
---
|
||||
{$email->language->get('subtotal')}: {$invoiceSummary['subtotal']->toString( $email->language )}
|
||||
@@ -2232,7 +2238,7 @@
|
||||
{{if \count( $invoiceSummary['tax'] )}}
|
||||
---
|
||||
{{foreach $invoiceSummary['tax'] as $taxId => $tax}}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']->toString( $email->language )}
|
||||
{{endforeach}}
|
||||
{{endif}}
|
||||
---
|
||||
@@ -2349,7 +2355,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td dir='{dir}' width="150" align='right' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"><strong>{$email->language->addToStack("t_amount", FALSE)}</strong></td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"> {$transaction->amount}</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"> {$transaction->amount->toString( $email->language )}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
@@ -2440,7 +2446,7 @@
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$item->linePrice()->toString( $email->language )}</strong>
|
||||
{{if $item->quantity > 1}}
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price ) ) )}</span>
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price->toString( $email->language ) ) ) )}</span>
|
||||
{{endif}}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -2473,7 +2479,7 @@
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100"}%)
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$tax['amount']}</strong>
|
||||
<strong>{$tax['amount']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
@@ -2513,7 +2519,7 @@
|
||||
{$email->language->addToStack("order_details", FALSE)}
|
||||
===
|
||||
{{foreach $invoiceSummary['items'] as $k => $item}}
|
||||
{$item->quantity} x</span> {$item->name} [{$email->language->addToStack("each_short", FALSE, array( 'htmlsprintf' => array( $item->price ) ) )}] ({$item->linePrice()->toString( $email->language )})
|
||||
{$item->quantity} x</span> {$item->name} [{$email->language->addToStack("each_short", FALSE, array( 'htmlsprintf' => array( $item->price->toString( $email->language ) ) ) )}] ({$item->linePrice()->toString( $email->language )})
|
||||
{{endforeach}}
|
||||
---
|
||||
{$email->language->get('subtotal')}: {$invoiceSummary['subtotal']->toString( $email->language )}
|
||||
@@ -2526,7 +2532,7 @@
|
||||
{{if \count( $invoiceSummary['tax'] )}}
|
||||
---
|
||||
{{foreach $invoiceSummary['tax'] as $taxId => $tax}}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']->toString( $email->language )}
|
||||
{{endforeach}}
|
||||
{{endif}}
|
||||
---
|
||||
@@ -2641,7 +2647,218 @@
|
||||
{$email->language->addToStack("view_support_request", FALSE)}: {$request->url()}
|
||||
{$email->language->addToStack("or_you_can_reply", FALSE)}
|
||||
{{endif}}
|
||||
{$email->language->addToStack("support_reply_email_id", FALSE, array( 'htmlsprintf' => array( '[SR' . $request->id . '.' . $request->email_key . ']' ) ) )}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>acp_notification_Transaction</template_name><template_content_html><![CDATA[<br />
|
||||
{$email->language->addToStack("support_reply_email_id", FALSE, array( 'htmlsprintf' => array( '[SR' . $request->id . '.' . $request->email_key . ']' ) ) )}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>invoiceNotify</template_name><template_content_html><![CDATA[
|
||||
{$email->language->get('email_tracked_invoice_paid')}
|
||||
<br /><br />
|
||||
|
||||
<h3 style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 24px; font-weight: 500; color: #333333; line-height: 21px; margin: 0 0 5px 0">
|
||||
{expression="sprintf( $email->language->get('invoice_number'), $invoice->id )"}
|
||||
</h3>
|
||||
<p style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; line-height: 24px; margin: 0">
|
||||
{{if $invoice->po}}
|
||||
<strong>{$email->language->get('invoice_po_number')}: {$invoice->po}</strong><br />
|
||||
{{endif}}
|
||||
</p>
|
||||
<br />
|
||||
|
||||
<a href='{$invoice->acpUrl()}' style="color: #ffffff; font-family: 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 14px; background: {setting="email_color"}; line-height: 32px; padding: 0 10px; display: inline-block; border-radius: 3px;">{$email->language->get('invoice_view')}</a>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="#ffffff" class='responsive_table'>
|
||||
<tr>
|
||||
<td dir='{dir}' width="{{if $invoice->hasPhysicalItems() and $invoice->shipaddress}}48%{{else}}100%{{endif}}" class='responsive_fullwidth' bgcolor="#f9f9f9">
|
||||
<table cellpadding="10" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" bgcolor="#f0f0f0">
|
||||
<strong>{$email->language->get("billing_address")}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px">
|
||||
{$invoice->member->cm_name}<br />
|
||||
{{if $invoice->billaddress}}{$invoice->billaddress->toString('<br />')|raw}{{endif}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
{{if $invoice->hasPhysicalItems() and $invoice->shipaddress}}
|
||||
<td dir='{dir}' width="4%"><img src='{setting="base_url"}applications/core/interface/email/spacer.png' width='1' height='1' alt=''></td>
|
||||
<td dir='{dir}' width="48%" class='responsive_fullwidth' bgcolor="#f9f9f9">
|
||||
<table cellpadding="10" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" bgcolor="#f0f0f0">
|
||||
<strong>{$email->language->get("shipping_address")}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px">
|
||||
{$invoice->member->cm_name}<br />
|
||||
{$invoice->shipaddress->toString('<br />')|raw}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
{{endif}}
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
|
||||
<br />
|
||||
<table cellpadding="10" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td dir='{dir}' colspan="5" style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" bgcolor="#f0f0f0">
|
||||
<strong>{$email->language->get("order_details")}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#f9f9f9">
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px">
|
||||
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 13px; color: #333333; line-height: 21px" colspan="2">
|
||||
<strong>{$email->language->addToStack('invoice_item', FALSE)}</strong>
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 13px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$email->language->get('total')}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{foreach $summary['items'] as $k => $item}}
|
||||
<tr style='border-top: 1px solid #f5f5f5'>
|
||||
<td dir='{dir}' width='100' valign='top' class='hidePhone' style='width: 0; max-height: 0; overflow: hidden; float: left;'>
|
||||
{{if $image = $item->image()}}
|
||||
<img src='{$image->url}' width='100' style='border: 0; vertical-align: middle;'>
|
||||
{{endif}}
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px">
|
||||
<span style="color: #8d8d8d">{$item->quantity} x</span> {$item->name}
|
||||
{{if $item instanceof \IPS\nexus\Invoice\Item\Renewal and $purchase = \IPS\nexus\Purchase::load( $item->id ) and $expire = $purchase->expire}}
|
||||
<span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">
|
||||
({$email->language->addToStack('ps_expire', FALSE)}: {expression="$expire->localeDate( $invoice->member )"})
|
||||
</span>
|
||||
{{endif}}
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px">
|
||||
{{if \count( $item->details )}}
|
||||
{{foreach $item->details as $k => $v}}
|
||||
{lang="nexus_pfield_{$k}"}: {expression="\IPS\nexus\Package\CustomField::load( $k )->displayValue( $v )" raw="true"}<br>
|
||||
{{endforeach}}
|
||||
{{endif}}
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$item->linePrice()->toString( $email->language )}</strong>
|
||||
{{if $item->quantity > 1}}
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$item->price->toString( $email->language )} {$email->language->get("each_short")}</span>
|
||||
{{endif}}
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
|
||||
|
||||
<tr style='border-top: 1px solid #dddddd'>
|
||||
<td dir='{dir}' colspan='3' align='right' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px">
|
||||
<strong>{$email->language->get('subtotal')}</strong>
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$summary['subtotal']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{{foreach $summary['shipping'] as $shipping}}
|
||||
<tr style='border-top: 1px solid #f5f5f5'>
|
||||
<td dir='{dir}' colspan='3' align='right' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px">
|
||||
{$shipping->name}
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$shipping->linePrice()->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
|
||||
{{foreach $summary['tax'] as $taxId => $tax}}
|
||||
<tr style='border-top: 1px solid #f5f5f5'>
|
||||
<td dir='{dir}' colspan='3' align='right' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px">
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100"}%)
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$tax['amount']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
|
||||
{{if $transactions = $invoice->transactions() and \count( $transactions )}}
|
||||
<tr style='border-top: 1px solid #dddddd'>
|
||||
<td dir='{dir}' colspan='3' align='right' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 17px; line-height: 21px">
|
||||
<strong>{$email->language->get('total')}</strong>
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 17px; line-height: 21px" align='right'>
|
||||
<strong>{$summary['total']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{foreach $transactions as $transaction}}
|
||||
{{if $transaction->status === $transaction::STATUS_PAID}}
|
||||
<tr>
|
||||
<td dir='{dir}' colspan='2' align='right' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 17px; line-height: 21px">
|
||||
<strong>{$email->language->get('email_paid_by')} {{if $transaction->method}}{$transaction->method->getTitleForLanguage( $email->language )}{{else}}{$email->language->get('account_credit')}{{endif}}</strong>
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 17px; line-height: 21px" align='right'>
|
||||
<strong style="font-size: 1.5em">{$transaction->amount->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endif}}
|
||||
{{endforeach}}
|
||||
{{else}}
|
||||
<tr style='border-top: 1px solid #dddddd'>
|
||||
<td dir='{dir}' colspan='3' align='right' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 17px; color: #cd3816; line-height: 21px">
|
||||
<strong>{$email->language->get('total')}</strong>
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 17px; color: #cd3816; line-height: 21px" align='right'>
|
||||
<strong>{$summary['total']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endif}}
|
||||
</table>
|
||||
|
||||
<!-- Signature -->
|
||||
<br /><br />
|
||||
<em style='color: #8c8c8c'>— {setting="board_name"}</em>]]></template_content_html><template_data>$invoice, $summary, $email</template_data><template_content_plaintext><![CDATA[
|
||||
{$email->language->get('email_tracked_invoice_paid')}
|
||||
|
||||
-- {setting="board_name"}
|
||||
|
||||
{expression="sprintf( $email->language->get('invoice_number'), $invoice->id )" raw="true"}
|
||||
=====
|
||||
{{if $invoice->po}}{$email->language->get('invoice_po_number')}: {$invoice->po}{{endif}}
|
||||
|
||||
{$email->language->get('invoice_view')}: {$invoice->acpUrl()}
|
||||
|
||||
|
||||
{$email->language->get("order_details")}
|
||||
=====
|
||||
{{foreach $summary['items'] as $k => $item}}
|
||||
{$item->quantity} x</span> {$item->name} [{$item->price->toString( $email->language )} {$email->language->get("each_short")}] ({$item->linePrice()->toString( $email->language )})
|
||||
{{endforeach}}
|
||||
---
|
||||
{$email->language->get('subtotal')}: {$summary['subtotal']->toString( $email->language )}
|
||||
{{if \count( $summary['shipping'] )}}
|
||||
---
|
||||
{{foreach $summary['shipping'] as $shipping}}
|
||||
{$shipping->name}: {$shipping->linePrice()->toString( $email->language )}
|
||||
{{endforeach}}
|
||||
{{endif}}
|
||||
{{if \count( $summary['tax'] )}}
|
||||
---
|
||||
{{foreach $summary['tax'] as $taxId => $tax}}
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100" raw="true"}%): {$tax['amount']->toString( $email->language )}
|
||||
{{endforeach}}
|
||||
{{endif}}
|
||||
---
|
||||
{$email->language->get('total')}: {$summary['total']->toString( $email->language )}
|
||||
{{if $transactions = $invoice->transactions() and \count( $transactions )}}{{foreach $transactions as $transaction}}{{if $transaction->status === $transaction::STATUS_PAID}}
|
||||
{$email->language->get('email_paid_by')} {{if $transaction->method}}{$transaction->method->getTitleForLanguage( $email->language )}{{else}}{$email->language->get('account_credit')}{{endif}}: {$transaction->amount->toString( $email->language )}
|
||||
{{endif}}{{endforeach}}
|
||||
{{endif}}]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>nexus</template_app><template_name>acp_notification_Transaction</template_name><template_content_html><![CDATA[<br />
|
||||
{$email->language->addToStack( "email_transaction_" . $notification->extra, FALSE )}
|
||||
<br />
|
||||
<br />
|
||||
@@ -2737,7 +2954,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td dir='{dir}' width="150" align='right' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"><strong>{$email->language->addToStack("t_amount", FALSE)}</strong></td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"> {$transaction->amount}</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px"> {$transaction->amount->toString( $email->language )}</td>
|
||||
</tr>
|
||||
{{if $transaction->fraud}}
|
||||
<tr>
|
||||
@@ -2807,7 +3024,7 @@
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$item->linePrice()->toString( $email->language )}</strong>
|
||||
{{if $item->quantity > 1}}
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price ) ) )}</span>
|
||||
<br><span style="color: #8d8d8d; font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px;">{$email->language->addToStack("each_short", FALSE, array( 'sprintf' => array( $item->price->toString( $email->language ) ) ) )}</span>
|
||||
{{endif}}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -2840,7 +3057,7 @@
|
||||
{$email->language->get( 'nexus_tax_' . $taxId )} ({expression="$tax['rate']*100"}%)
|
||||
</td>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 15px; color: #333333; line-height: 21px" align='right'>
|
||||
<strong>{$tax['amount']}</strong>
|
||||
<strong>{$tax['amount']->toString( $email->language )}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
{{endforeach}}
|
||||
|
||||
Reference in new issue
Block a user