Fix typos

This commit is contained in:
Joshua Dwire 2016-04-19 16:31:50 -04:00
parent b8ad27963e
commit eb91a3cd42
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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' }};