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