@component('components.filters', ['title' => __('report.filters')])
{!! Form::open(['url' => action([\App\Http\Controllers\ReportController::class, 'dailySummaryReport']), 'method' => 'get' ]) !!}
@php
$biz_date_fmt = session('business.date_format', 'Y-m-d');
$date_range_input = old('date_range');
if (empty($date_range_input)) {
$date_range_input = \Carbon\Carbon::parse($start_date)->format($biz_date_fmt)
. ' ~ '
. \Carbon\Carbon::parse($end_date)->format($biz_date_fmt);
}
@endphp
{!! Form::label('location_id', __('purchase.business_location') . ':') !!}
{!! Form::select('location_id', $business_locations, old('location_id', request('location_id')), ['class' => 'form-control select2', 'id' => 'location_id','style' => 'width:100%']); !!}
{!! Form::label('date_range', __('report.date_range') . ':') !!}
{!! Form::text('date_range', $date_range_input, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'date_range', 'readonly']); !!}
{!! Form::close() !!}
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('purchase.purchases'), 'button'=> '
'.e(__('messages.print')).''])
{{-- | @lang('lang_v1.contact_id') | --}}
@lang('purchase.ref_no') |
@lang('purchase.supplier') |
@lang('sale.total') |
@lang('report.paid') |
@lang('report.due') |
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('lang_v1.list_purchase_return')])
{{-- | @lang('lang_v1.contact_id') | --}}
@lang('purchase.ref_no') |
@lang('purchase.supplier') |
@lang('sale.total') |
@lang('report.paid') |
@lang('report.due') |
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('lang_v1.purchase_payment')])
| @lang('purchase.ref_no') |
@lang('purchase.supplier') |
@lang('report.paid') |
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('sale.sells')])
| @lang('lang_v1.contact_id') |
@lang('sale.customer_name') |
@lang('sale.invoice_no') |
@lang('messages.date') |
@lang('sale.total') (@lang('product.exc_of_tax')) |
@lang('sale.discount') |
@lang('sale.tax') |
@lang('sale.total') (@lang('product.inc_of_tax')) |
@lang('report.paid') |
@lang('report.due') |
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('lang_v1.sell_return')])
| @lang('lang_v1.contact_id') |
@lang('sale.customer_name') |
@lang('sale.invoice_no') |
@lang('messages.date') |
@lang('sale.total') (@lang('product.exc_of_tax')) |
@lang('sale.discount') |
@lang('sale.tax') |
@lang('sale.total') (@lang('product.inc_of_tax')) |
@lang('report.paid') |
@lang('report.due') |
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('contact.customer').' — '.__('report.due')])
| @lang('purchase.ref_no') |
@lang('contact.customer') |
@lang('sale.amount') |
@endcomponent
{{-- /.daily-summary-print-root --}}
@endsection
@section('javascript')
@endsection