mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 18:44:28 -04:00
Working on multi-user support
This commit is contained in:
parent
f431426469
commit
0123ee36a2
@ -207,7 +207,7 @@ class Account extends Eloquent
|
|||||||
'your_quote',
|
'your_quote',
|
||||||
'quote_date',
|
'quote_date',
|
||||||
'quote_number',
|
'quote_number',
|
||||||
'total'
|
'total',
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach ($fields as $field)
|
foreach ($fields as $field)
|
||||||
@ -236,6 +236,10 @@ class Account extends Eloquent
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
else if ($datePaid == '2000-01-01')
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
$today = new DateTime('now');
|
$today = new DateTime('now');
|
||||||
$datePaid = DateTime::createFromFormat('Y-m-d', $datePaid);
|
$datePaid = DateTime::createFromFormat('Y-m-d', $datePaid);
|
||||||
|
@ -67,7 +67,6 @@ class Invoice extends EntityModel
|
|||||||
$this->setVisible([
|
$this->setVisible([
|
||||||
'invoice_number',
|
'invoice_number',
|
||||||
'discount',
|
'discount',
|
||||||
//'shipping',
|
|
||||||
'po_number',
|
'po_number',
|
||||||
'invoice_date',
|
'invoice_date',
|
||||||
'due_date',
|
'due_date',
|
||||||
@ -123,7 +122,9 @@ class Invoice extends EntityModel
|
|||||||
'primary_color',
|
'primary_color',
|
||||||
'secondary_color',
|
'secondary_color',
|
||||||
'hide_quantity',
|
'hide_quantity',
|
||||||
'hide_paid_to_date']);
|
'hide_paid_to_date',
|
||||||
|
'custom_invoice_label1',
|
||||||
|
'custom_invoice_label2']);
|
||||||
|
|
||||||
foreach ($this->invoice_items as $invoiceItem)
|
foreach ($this->invoice_items as $invoiceItem)
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,9 @@
|
|||||||
@parent
|
@parent
|
||||||
@include('accounts.nav_advanced')
|
@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()
|
{{ Datatable::table()
|
||||||
->addColumn(
|
->addColumn(
|
||||||
|
@ -184,6 +184,13 @@
|
|||||||
{{ Button::block_primary_submit_lg(strtoupper(trans('texts.pay_now')) . ' - ' . Utils::formatMoney($amount, $currencyId) ) }}
|
{{ Button::block_primary_submit_lg(strtoupper(trans('texts.pay_now')) . ' - ' . Utils::formatMoney($amount, $currencyId) ) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<p> </p>
|
||||||
|
<a href="https://www.invoiceninja.com/terms" target="_blank">Click here</a> to view our terms of service.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
<div class="cell">Live .PDF invoice creation </div>
|
<div class="cell">Live .PDF invoice creation </div>
|
||||||
<div class="cell">4 beautiful invoice templates</div>
|
<div class="cell">4 beautiful invoice templates</div>
|
||||||
<div class="cell">Accept credit card payments</div>
|
<div class="cell">Accept credit card payments</div>
|
||||||
|
<div class="cell">Multi-user support</div>
|
||||||
<div class="cell">Quotes/pro-forma invoices</div>
|
<div class="cell">Quotes/pro-forma invoices</div>
|
||||||
<div class="cell">Custom invoice fields and colors</div>
|
<div class="cell">Custom invoice fields and colors</div>
|
||||||
<div class="cell">Dynamic chart builder</div>
|
<div class="cell">Dynamic chart builder</div>
|
||||||
@ -25,6 +26,7 @@
|
|||||||
<div class="cell"><div class="hide-desktop">Live .PDF invoice creation</div><span class="glyphicon glyphicon-ok"></div>
|
<div class="cell"><div class="hide-desktop">Live .PDF invoice creation</div><span class="glyphicon glyphicon-ok"></div>
|
||||||
<div class="cell"><div class="hide-desktop">4 beautiful invoice templates</div><span class="glyphicon glyphicon-ok"></div>
|
<div class="cell"><div class="hide-desktop">4 beautiful invoice templates</div><span class="glyphicon glyphicon-ok"></div>
|
||||||
<div class="cell"><div class="hide-desktop">Accept credit card payments</div><span class="glyphicon glyphicon-ok"></div>
|
<div class="cell"><div class="hide-desktop">Accept credit card payments</div><span class="glyphicon glyphicon-ok"></div>
|
||||||
|
<div class="cell"><div class="hide-desktop">Multi-user support</div><span class="glyphicon glyphicon-remove"></div>
|
||||||
<div class="cell"><div class="hide-desktop">Quotes/pro-forma invoices</div><span class="glyphicon glyphicon-remove"></div>
|
<div class="cell"><div class="hide-desktop">Quotes/pro-forma invoices</div><span class="glyphicon glyphicon-remove"></div>
|
||||||
<div class="cell"><div class="hide-desktop">Custom fields and invoice colors</div><span class="glyphicon glyphicon-remove"></div>
|
<div class="cell"><div class="hide-desktop">Custom fields and invoice colors</div><span class="glyphicon glyphicon-remove"></div>
|
||||||
<div class="cell"><div class="hide-desktop">Dynamic chart builder</div><span class="glyphicon glyphicon-remove"></div>
|
<div class="cell"><div class="hide-desktop">Dynamic chart builder</div><span class="glyphicon glyphicon-remove"></div>
|
||||||
@ -42,6 +44,7 @@
|
|||||||
<div class="cell"><div class="hide-desktop">Live .PDF invoice creation</div><span class="glyphicon glyphicon-ok"></div>
|
<div class="cell"><div class="hide-desktop">Live .PDF invoice creation</div><span class="glyphicon glyphicon-ok"></div>
|
||||||
<div class="cell"><div class="hide-desktop">4 beautiful invoice templates</div><span class="glyphicon glyphicon-ok"></div>
|
<div class="cell"><div class="hide-desktop">4 beautiful invoice templates</div><span class="glyphicon glyphicon-ok"></div>
|
||||||
<div class="cell"><div class="hide-desktop">Accept credit card payments</div><span class="glyphicon glyphicon-ok"></div>
|
<div class="cell"><div class="hide-desktop">Accept credit card payments</div><span class="glyphicon glyphicon-ok"></div>
|
||||||
|
<div class="cell"><div class="hide-desktop">Multi-user support</div><span class="glyphicon glyphicon-ok"></div>
|
||||||
<div class="cell"><div class="hide-desktop">Quotes/pro-forma invoices</div><span class="glyphicon glyphicon-ok"></div>
|
<div class="cell"><div class="hide-desktop">Quotes/pro-forma invoices</div><span class="glyphicon glyphicon-ok"></div>
|
||||||
<div class="cell"><div class="hide-desktop">Custom invoice fields and colors</div><span class="glyphicon glyphicon-ok"></div>
|
<div class="cell"><div class="hide-desktop">Custom invoice fields and colors</div><span class="glyphicon glyphicon-ok"></div>
|
||||||
<div class="cell"><div class="hide-desktop">Dynamic chart builder</div><span class="glyphicon glyphicon-ok"></div>
|
<div class="cell"><div class="hide-desktop">Dynamic chart builder</div><span class="glyphicon glyphicon-ok"></div>
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8 col-md-offset-2">
|
<div class="col-md-8 col-md-offset-2">
|
||||||
<h2>Definitions</h2>
|
<h2>Definitions</h2>
|
||||||
<p>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. </p></div>
|
<p>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. </p></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -298,7 +298,7 @@ a .cta:hover span {
|
|||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 10px 35px 20px 35px;
|
padding: 10px 35px 20px 35px;
|
||||||
height: 212px;
|
xheight: 212px;
|
||||||
border-left: 1px dotted #ccc;
|
border-left: 1px dotted #ccc;
|
||||||
margin-top: 100px;
|
margin-top: 100px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
@ -280,7 +280,7 @@ a .cta:hover span {
|
|||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 10px 35px 20px 35px;
|
padding: 10px 35px 20px 35px;
|
||||||
height: 212px;
|
xheight: 212px;
|
||||||
border-left: 1px dotted #ccc;
|
border-left: 1px dotted #ccc;
|
||||||
margin-top: 100px;
|
margin-top: 100px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user