@extends('layouts.app') @section('title', __('lang_v1.serial_report')) @section('content')

{{ __('lang_v1.serial_report')}}

@component('components.filters', ['title' => __('report.filters')]) {!! Form::open(['url' => action([\App\Http\Controllers\ReportController::class, 'getSerialReport']), 'method' => 'get', 'id' => 'serial_report_filter_form' ]) !!}
{!! Form::label('location_id', __('purchase.business_location') . ':') !!} {!! Form::select('location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::label('category_id', __('category.category') . ':') !!} {!! Form::select('category', $categories, null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'category_id']); !!}
{!! Form::label('sub_category_id', __('product.sub_category') . ':') !!} {!! Form::select('sub_category', array(), null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'sub_category_id']); !!}
{!! Form::label('brand', __('product.brand') . ':') !!} {!! Form::select('brand', $brands, null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::label('unit',__('product.unit') . ':') !!} {!! Form::select('unit', $units, null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::label('serial_number', __('lang_v1.serial_number') . ':') !!} {!! Form::text('serial_number', null, ['class' => 'form-control', 'placeholder' => __('lang_v1.serial_number')]); !!}
{!! Form::label('supplier_id', __('report.supplier') . ':') !!} {!! Form::select('supplier_id', $suppliers, null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::label('customer_id', __('report.customer') . ':') !!} {!! Form::select('customer_id', $customers, null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::label('status', __('sale.status') . ':') !!} {!! Form::select('status', ['in_stock' => __('lang_v1.in_stock'), 'sold' => __('lang_v1.sold'), 'returned' => __('lang_v1.returned')], null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::label('serial_report_date_range', __('report.date_range') . ':') !!} {!! Form::text('date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'serial_report_date_range', 'readonly']); !!}
{!! Form::close() !!} @endcomponent
@component('components.widget', ['class' => 'box-primary'])
@lang('business.product') @lang('lang_v1.serial_number') @lang('purchase.purchase_details') Stock Details @lang('sale.sale') Details Warranty Details Action Status Profit
@endcomponent
@endsection @section('javascript') @endsection