mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 18:44:28 -04:00
Fix typos
This commit is contained in:
parent
b8ad27963e
commit
eb91a3cd42
@ -830,7 +830,7 @@ class Account extends Eloquent
|
|||||||
|
|
||||||
// White Label
|
// White Label
|
||||||
case FEATURE_WHITE_LABEL:
|
case FEATURE_WHITE_LABEL:
|
||||||
if ($this->isNinjaAccount() || (!$selfHost && $planDetails && !$plan_details['expires'])) {
|
if ($this->isNinjaAccount() || (!$selfHost && $planDetails && !$planDetails['expires'])) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Fallthrough
|
// Fallthrough
|
||||||
@ -1262,7 +1262,7 @@ class Account extends Eloquent
|
|||||||
|
|
||||||
public function attatchPDF()
|
public function attatchPDF()
|
||||||
{
|
{
|
||||||
return $this->hasFeaure(FEATURE_PDF_ATTACHMENT) && $this->pdf_email_attachment;
|
return $this->hasFeature(FEATURE_PDF_ATTACHMENT) && $this->pdf_email_attachment;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEmailDesignId()
|
public function getEmailDesignId()
|
||||||
|
@ -84,7 +84,7 @@
|
|||||||
window.invoice = {!! $invoice->toJson() !!};
|
window.invoice = {!! $invoice->toJson() !!};
|
||||||
invoice.features = {
|
invoice.features = {
|
||||||
customize_invoice_design:{{ $invoice->client->account->hasFeature(FEATURE_CUSTOMIZE_INVOICE_DESIGN) ? 'true' : 'false' }},
|
customize_invoice_design:{{ $invoice->client->account->hasFeature(FEATURE_CUSTOMIZE_INVOICE_DESIGN) ? 'true' : 'false' }},
|
||||||
remove_created_by:{{ $invoice->client->account)->hasFeature(FEATURE_REMOVE_CREATED_BY) ? 'true' : 'false' }},
|
remove_created_by:{{ $invoice->client->account->hasFeature(FEATURE_REMOVE_CREATED_BY) ? 'true' : 'false' }},
|
||||||
invoice_settings:{{ $invoice->client->account->hasFeature(FEATURE_INVOICE_SETTINGS) ? 'true' : 'false' }}
|
invoice_settings:{{ $invoice->client->account->hasFeature(FEATURE_INVOICE_SETTINGS) ? 'true' : 'false' }}
|
||||||
};
|
};
|
||||||
invoice.is_quote = {{ $invoice->is_quote ? 'true' : 'false' }};
|
invoice.is_quote = {{ $invoice->is_quote ? 'true' : 'false' }};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user