Merge branch 'develop' of github.com:hillelcoren/invoice-ninja into develop
This commit is contained in:
commit
1118824fce
2 changed files with 3 additions and 3 deletions
|
|
@ -983,7 +983,7 @@ class Account extends Eloquent
|
|||
// Add line breaks if HTML isn't already being used
|
||||
return strip_tags($this->email_footer) == $this->email_footer ? nl2br($this->email_footer) : $this->email_footer;
|
||||
} else {
|
||||
return "<p>" . trans('texts.email_signature') . "\n<br>\$account</ p>";
|
||||
return "<p>" . trans('texts.email_signature') . "\n<br>\$account</p>";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -87,9 +87,9 @@ class InvoiceTransformer extends EntityTransformer
|
|||
'end_date' => $invoice->end_date,
|
||||
'last_sent_date' => $invoice->last_sent_date,
|
||||
'recurring_invoice_id' => (int) $invoice->recurring_invoice_id,
|
||||
'tax_name1' => $invoice->tax_name1,
|
||||
'tax_name1' => $invoice->tax_name1 ? $invoice->tax_name1 : '',
|
||||
'tax_rate1' => (float) $invoice->tax_rate1,
|
||||
'tax_name2' => $invoice->tax_name2,
|
||||
'tax_name2' => $invoice->tax_name2 ? $invoice->tax_name2 : '',
|
||||
'tax_rate2' => (float) $invoice->tax_rate2,
|
||||
'amount' => (float) $invoice->amount,
|
||||
'balance' => (float) $invoice->balance,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue