mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fix for reports if not-pro
This commit is contained in:
parent
9138c02c31
commit
0521c5e74b
@ -75,7 +75,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
{!! Former::open()->rules(['start_date' => 'required', 'end_date' => 'required']) !!}
|
{!! Former::open()->addClass('report-form')->rules(['start_date' => 'required', 'end_date' => 'required']) !!}
|
||||||
|
|
||||||
<div style="display:none">
|
<div style="display:none">
|
||||||
{!! Former::text('action') !!}
|
{!! Former::text('action') !!}
|
||||||
@ -149,7 +149,7 @@
|
|||||||
@if (!Auth::user()->hasFeature(FEATURE_REPORTS))
|
@if (!Auth::user()->hasFeature(FEATURE_REPORTS))
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
$('form.warn-on-exit').find('input, button').prop('disabled', true);
|
$('form.report-form').find('input, button').prop('disabled', true);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
Reference in New Issue
Block a user