@extends('layouts.app')
@section('title', __('lang_v1.product_sell_report'))
@section('content')
@component('components.filters', ['title' => __('report.filters')])
{!! Form::open(['url' => action([\App\Http\Controllers\ReportController::class, 'getStockReport']), 'method' => 'get', 'id' => 'product_sell_report_form' ]) !!}
{!! Form::label('psr_customer_group_id', __( 'lang_v1.customer_group_name' ) . ':') !!}
{!! Form::select('psr_customer_group_id', $customer_group, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'psr_customer_group_id']); !!}
{!! Form::label('category_id', __('product.category') . ':') !!}
{!! Form::select('category_id', $categories, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'psr_filter_category_id', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('brand_id', __('product.brand') . ':') !!}
{!! Form::select('brand_id', $brands, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'psr_filter_brand_id', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('product_sr_date_filter', __('report.date_range') . ':') !!}
{!! Form::text('date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'product_sr_date_filter', 'readonly']); !!}
{!! Form::label('product_sr_start_time', __('lang_v1.time_range') . ':') !!}
@php
$startDay = Carbon::now()->startOfDay();
$endDay = $startDay->copy()->endOfDay();
@endphp
{!! Form::text('start_time', @format_time($startDay), ['style' => __('lang_v1.select_a_date_range'), 'class' => 'form-control width-50 f-left', 'id' => 'product_sr_start_time']); !!}
{!! Form::text('end_time', @format_time($endDay), ['class' => 'form-control width-50 f-left', 'id' => 'product_sr_end_time']); !!}
{!! Form::close() !!}
@endcomponent
@lang('sale.product') |
@lang('product.sku') |
@lang('sale.customer_name') |
@lang('lang_v1.contact_id') |
@lang('sale.invoice_no') |
@lang('messages.date') |
@lang('sale.qty') |
@lang('sale.unit_price') |
@lang('sale.discount') |
@lang('sale.tax') |
@lang('sale.price_inc_tax') |
@lang('sale.total') |
@if(session('business.enable_lot_number'))
@endif
@lang('sale.product') |
@lang('product.sku') |
@lang('sale.customer_name') |
@lang('sale.invoice_no') |
@lang('messages.date') |
@lang('lang_v1.purchase_ref_no') |
@lang('lang_v1.lot_number') |
@lang('lang_v1.supplier_name') |
@lang('sale.qty') |
@lang('sale.product') |
@lang('product.sku') |
@lang('messages.date') |
@lang('report.current_stock') |
@lang('report.total_unit_sold') |
@lang('sale.total') |
@include('report.partials.product_sell_report_by_category')
@include('report.partials.product_sell_report_by_brand')
@endsection
@section('javascript')
@endsection