@extends('advancedreports::layouts.app') @section('title', __('Brand Wise Sales Report')) @section('content') @php $symbol = session('currency')['symbol']; @endphp

@lang('Brand Wise Sales Report') @lang('View sales by brand with purchase price analysis')

@component('components.filters', [ 'title' => __('report.filters'), 'class' => 'box-primary' ])
{!! Form::label('brand_id', __('product.brand') . ':') !!} @php $brand_options = []; if(is_array($brands)) { $brand_options = $brands; } else { $brand_options = $brands->toArray(); } @endphp {!! Form::select('brand_id', $brand_options, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('messages.please_select'), 'id' => 'brand_filter']); !!}
{!! Form::label('location_id', __('purchase.business_location') . ':') !!} {!! Form::select('location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('messages.please_select'), 'id' => 'location_filter']); !!}
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('Brand Wise Sales Report')])
@lang('messages.action') @lang('product.brand') @lang('advancedreports::lang.total_products') @lang('advancedreports::lang.total_transactions') @lang('advancedreports::lang.total_quantity_sold') @lang('advancedreports::lang.total_sales_amount') @lang('advancedreports::lang.purchase_cost') @lang('advancedreports::lang.gross_profit') ({{ $symbol }}) @lang('advancedreports::lang.profit_margin') (%)
@endcomponent
@stop @section('javascript') @endsection