mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 05:54:34 -04:00
Fix for report defaults
This commit is contained in:
parent
e3519c9c39
commit
f2d7a01f94
@ -114,11 +114,7 @@ class ReportController extends BaseController
|
||||
} else {
|
||||
$params['columns'] = [];
|
||||
$params['displayData'] = [];
|
||||
$params['reportTotals'] = [
|
||||
'amount' => [],
|
||||
'balance' => [],
|
||||
'paid' => [],
|
||||
];
|
||||
$params['reportTotals'] = [];
|
||||
$params['labels'] = [];
|
||||
$params['datasets'] = [];
|
||||
$params['scaleStepWidth'] = 100;
|
||||
|
@ -48,7 +48,7 @@
|
||||
@if (!Auth::user()->isPro())
|
||||
<script>
|
||||
$(function() {
|
||||
$('form.warn-on-exit').find('input, select, button').prop('disabled', true);
|
||||
$('form.warn-on-exit').find('input, button').prop('disabled', true);
|
||||
});
|
||||
</script>
|
||||
@endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user