Fix typos
This commit is contained in:
parent
b8ad27963e
commit
eb91a3cd42
2 changed files with 3 additions and 3 deletions
|
|
@ -830,7 +830,7 @@ class Account extends Eloquent
|
|||
|
||||
// White Label
|
||||
case FEATURE_WHITE_LABEL:
|
||||
if ($this->isNinjaAccount() || (!$selfHost && $planDetails && !$plan_details['expires'])) {
|
||||
if ($this->isNinjaAccount() || (!$selfHost && $planDetails && !$planDetails['expires'])) {
|
||||
return false;
|
||||
}
|
||||
// Fallthrough
|
||||
|
|
@ -1262,7 +1262,7 @@ class Account extends Eloquent
|
|||
|
||||
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()
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@
|
|||
window.invoice = {!! $invoice->toJson() !!};
|
||||
invoice.features = {
|
||||
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.is_quote = {{ $invoice->is_quote ? 'true' : 'false' }};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue