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>
|
||||
|
||||
|
||||
{!! 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">
|
||||
{!! Former::text('action') !!}
|
||||
@ -149,7 +149,7 @@
|
||||
@if (!Auth::user()->hasFeature(FEATURE_REPORTS))
|
||||
<script>
|
||||
$(function() {
|
||||
$('form.warn-on-exit').find('input, button').prop('disabled', true);
|
||||
$('form.report-form').find('input, button').prop('disabled', true);
|
||||
});
|
||||
</script>
|
||||
@endif
|
||||
|
Loading…
Reference in New Issue
Block a user