{{-- Shared date-range filter bar for the GL reports. $action = current route. --}}
<form method="GET" action="{{ $action }}" class="form-inline" style="margin-bottom:14px;">
    @isset($extraSelect){!! $extraSelect !!}@endisset
    <div class="form-group">
        <label>@lang('medaccounting::lang.from')</label>
        <input type="date" name="from" class="form-control input-sm" value="{{ $from }}">
    </div>
    <div class="form-group">
        <label>@lang('medaccounting::lang.to')</label>
        <input type="date" name="to" class="form-control input-sm" value="{{ $to }}">
    </div>
    <button type="submit" class="btn btn-primary btn-sm"><i class="fa fa-filter"></i> @lang('medaccounting::lang.apply')</button>
</form>
