diff --git a/app/models/Account.php b/app/models/Account.php index 5b9140908..4767cf5dc 100755 --- a/app/models/Account.php +++ b/app/models/Account.php @@ -207,7 +207,7 @@ class Account extends Eloquent 'your_quote', 'quote_date', 'quote_number', - 'total' + 'total', ]; foreach ($fields as $field) @@ -236,6 +236,10 @@ class Account extends Eloquent { return false; } + else if ($datePaid == '2000-01-01') + { + return true; + } $today = new DateTime('now'); $datePaid = DateTime::createFromFormat('Y-m-d', $datePaid); diff --git a/app/models/Invoice.php b/app/models/Invoice.php index 32a9dd0a7..a951b5a1e 100755 --- a/app/models/Invoice.php +++ b/app/models/Invoice.php @@ -67,7 +67,6 @@ class Invoice extends EntityModel $this->setVisible([ 'invoice_number', 'discount', - //'shipping', 'po_number', 'invoice_date', 'due_date', @@ -123,7 +122,9 @@ class Invoice extends EntityModel 'primary_color', 'secondary_color', 'hide_quantity', - 'hide_paid_to_date']); + 'hide_paid_to_date', + 'custom_invoice_label1', + 'custom_invoice_label2']); foreach ($this->invoice_items as $invoiceItem) { diff --git a/app/views/accounts/user_management.blade.php b/app/views/accounts/user_management.blade.php index 3906222c5..1bba99364 100644 --- a/app/views/accounts/user_management.blade.php +++ b/app/views/accounts/user_management.blade.php @@ -4,7 +4,9 @@ @parent @include('accounts.nav_advanced') - {{ Button::success_link(URL::to('users/create'), trans("texts.add_user"), array('class' => 'pull-right'))->append_with_icon('plus-sign') }} + @if (Utils::isPro()) + {{ Button::success_link(URL::to('users/create'), trans("texts.add_user"), array('class' => 'pull-right'))->append_with_icon('plus-sign') }} + @endif {{ Datatable::table() ->addColumn( diff --git a/app/views/payments/payment.blade.php b/app/views/payments/payment.blade.php index db672ed2c..a00f612b2 100755 --- a/app/views/payments/payment.blade.php +++ b/app/views/payments/payment.blade.php @@ -184,6 +184,13 @@ {{ Button::block_primary_submit_lg(strtoupper(trans('texts.pay_now')) . ' - ' . Utils::formatMoney($amount, $currencyId) ) }} +
+ Click here to view our terms of service. +
Invoiceninja.com users who access invoiceninja.com services are defined as “User Accounts.” User Account clients who use access invoiceninja.com services to view and/or pay invoices are defined as “Clients.” The wording “data” and “content” are used interchangeably.
Invoiceninja.com users who access invoiceninja.com services are defined as “User Accounts”. User Account clients who use invoiceninja.com services to view and/or pay invoices are defined as “Clients.” The wording “data” and “content” are used interchangeably.