mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on task invoices
This commit is contained in:
parent
c4fd95756a
commit
e180601898
@ -91,7 +91,7 @@ class AccountGatewayController extends BaseController
|
|||||||
$accountGatewaysIds = $account->gatewayIds();
|
$accountGatewaysIds = $account->gatewayIds();
|
||||||
$otherProviders = Input::get('other_providers');
|
$otherProviders = Input::get('other_providers');
|
||||||
|
|
||||||
if (! Utils::isNinja() || ! env('WEPAY_CLIENT_ID') || Gateway::hasStandardGateway($accountGatewaysIds)) {
|
if (! env('WEPAY_CLIENT_ID') || Gateway::hasStandardGateway($accountGatewaysIds)) {
|
||||||
$otherProviders = true;
|
$otherProviders = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -896,6 +896,7 @@ class Invoice extends EntityModel implements BalanceAffecting
|
|||||||
'tax_rate1',
|
'tax_rate1',
|
||||||
'tax_name2',
|
'tax_name2',
|
||||||
'tax_rate2',
|
'tax_rate2',
|
||||||
|
'invoice_item_type_id',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -660,8 +660,8 @@ function calculateAmounts(invoice) {
|
|||||||
invoice.has_product_key = true;
|
invoice.has_product_key = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
var hasStandard;
|
var hasStandard = false;
|
||||||
var hasTask;
|
var hasTask = false;
|
||||||
|
|
||||||
// sum line item
|
// sum line item
|
||||||
for (var i=0; i<invoice.invoice_items.length; i++) {
|
for (var i=0; i<invoice.invoice_items.length; i++) {
|
||||||
|
@ -77,9 +77,8 @@
|
|||||||
<div class="line-total" data-bind="text: totals.total"></div>
|
<div class="line-total" data-bind="text: totals.total"></div>
|
||||||
</td>
|
</td>
|
||||||
<td style="cursor:pointer" class="hide-border td-icon">
|
<td style="cursor:pointer" class="hide-border td-icon">
|
||||||
<i style="padding-left:2px" data-bind="click: $parent.removeItem, visible: actionsVisible() &&
|
<i style="padding-left:2px" data-bind="click: $parent.removeItem, visible: actionsVisible() && !isEmpty()"
|
||||||
$index() < ($parent.invoice_items().length - 1) &&
|
class="fa fa-minus-circle redlink" title="Remove item"/>
|
||||||
$parent.invoice_items().length > 1" class="fa fa-minus-circle redlink" title="Remove item"/>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user