{{ __('Sales Trend') }}
{{ __('Sales Trend Report') }}
Period
:
@if ($from_date1 == $to_date1) {{ date('j F Y', strtotime($from_date1)) }} @else {{ date('j F Y', strtotime($from_date1)) }} - {{ date('j F Y', strtotime($to_date1)) }} @endif vs @if ($from_date2 == $to_date2) {{ date('j F Y', strtotime($from_date2)) }} @else {{ date('j F Y', strtotime($from_date2)) }} - {{ date('j F Y', strtotime($to_date2)) }} @endif
Group by
:
| # | {{ __('Warehouse') }} | @if ($groupname == '') Group @else {{ $groupname }} @endif | {{ __('Qty1') }} | {{ __('Gross1') }} | {{ __('Disc1') }} | {{ __('Nett1') }} | @if ($show_onhand){{ __('OnHand1') }} | @endif{{ __('Qty2') }} | {{ __('Gross2') }} | {{ __('Disc2') }} | {{ __('Nett2') }} | @if ($show_onhand){{ __('OnHand2') }} | @endif{{ __('Growth') }} | {{ __('Action') }} |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item['whs'] }} | {{ $item['group'] }} | {{ number_format($item['qty1']) }} | {{ number_format($item['gross1']) }} | {{ number_format($item['disc1']) }} | {{ number_format($item['nett1']) }} | @if ($show_onhand){{ number_format($item['onhand1']) }} | @endif{{ number_format($item['qty2']) }} | {{ number_format($item['gross2']) }} | {{ number_format($item['disc2']) }} | {{ number_format($item['nett2']) }} | @if ($show_onhand){{ number_format($item['onhand2']) }} | @endif{{ number_format($item['var'], 2) . '%' }} | @php $total_qty1 += $item['qty1']; $total_gross1 += $item['gross1']; $total_disc1 += $item['disc1']; $total_nett1 += $item['nett1']; $total_qty2 += $item['qty2']; $total_gross2 += $item['gross2']; $total_disc2 += $item['disc2']; $total_nett2 += $item['nett2']; @endphp @if ($show_onhand) @php $total_onhand1 += $item['onhand1']; $total_onhand2 += $item['onhand2']; @endphp @endif |
| Total | {{ number_format($total_qty1) }} | {{ number_format($total_gross1) }} | {{ number_format($total_disc1) }} | {{ number_format($total_nett1) }} | @if ($show_onhand){{ number_format($total_onhand1) }} | @endif{{ number_format($total_qty2) }} | {{ number_format($total_gross2) }} | {{ number_format($total_disc2) }} | {{ number_format($total_nett2) }} | @if ($show_onhand){{ number_format($total_onhand2) }} | @endif{{ number_format($growth, 2) . '%' }} | |||
{{ __('Report Sales Trend - Level II') }}
@if ($issearchgroup2)
@endif
Period
:
@if ($from_date1 == $to_date1) {{ date('j F Y', strtotime($from_date1)) }} @else {{ date('j F Y', strtotime($from_date1)) }} - {{ date('j F Y', strtotime($to_date1)) }} @endif vs @if ($from_date2 == $to_date2) {{ date('j F Y', strtotime($from_date2)) }} @else {{ date('j F Y', strtotime($from_date2)) }} - {{ date('j F Y', strtotime($to_date2)) }} @endif
Group by
:
| # | {{ __('Warehouse') }} | {{ $groupname }} | {{ $groupname2 }} | {{ __('Qty1') }} | {{ __('Gross1') }} | {{ __('Disc1') }} | {{ __('Nett1') }} | @if ($show_onhand){{ __('OnHand1') }} | @endif{{ __('Qty2') }} | {{ __('Gross2') }} | {{ __('Disc2') }} | {{ __('Nett2') }} | @if ($show_onhand){{ __('OnHand2') }} | @endif{{ __('Growth') }} | {{ __('Action') }} |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item['whs'] }} | {{ $item['group'] }} | {{ $item['group2'] }} | {{ number_format($item['qty1']) }} | {{ number_format($item['gross1']) }} | {{ number_format($item['disc1']) }} | {{ number_format($item['nett1']) }} | @if ($show_onhand){{ number_format($item['onhand1']) }} | @endif{{ number_format($item['qty2']) }} | {{ number_format($item['gross2']) }} | {{ number_format($item['disc2']) }} | {{ number_format($item['nett2']) }} | @if ($show_onhand){{ number_format($item['onhand2']) }} | @endif{{ number_format($item['var'], 2) . '%' }} | @php $total_qty1 += $item['qty1']; $total_gross1 += $item['gross1']; $total_disc1 += $item['disc1']; $total_nett1 += $item['nett1']; $total_qty2 += $item['qty2']; $total_gross2 += $item['gross2']; $total_disc2 += $item['disc2']; $total_nett2 += $item['nett2']; @endphp @if ($show_onhand) @php $total_onhand2 += $item['onhand2']; @endphp @endif |
| Total | {{ number_format($total_qty1) }} | {{ number_format($total_gross1) }} | {{ number_format($total_disc1) }} | {{ number_format($total_nett1) }} | @if ($show_onhand){{ number_format($total_onhand1) }} | @endif{{ number_format($total_qty2) }} | {{ number_format($total_gross2) }} | {{ number_format($total_disc2) }} | {{ number_format($total_nett2) }} | @if ($show_onhand){{ number_format($total_onhand2) }} | @endif{{ number_format($growth, 2) . '%' }} | ||||
{{ __('Report Sales Trend - Level III') }}
@if ($issearchgroup3)
@endif
Period
:
@if ($from_date1 == $to_date) {{ date('j F Y', strtotime($from_date1)) }} @else {{ date('j F Y', strtotime($from_date1)) }} - {{ date('j F Y', strtotime($to_date1)) }} @endif vs @if ($from_date2 == $to_date) {{ date('j F Y', strtotime($from_date2)) }} @else {{ date('j F Y', strtotime($from_date2)) }} - {{ date('j F Y', strtotime($to_date2)) }} @endif
Group by
:
| # | {{ __('Warehouse') }} | {{ $groupname }} | {{ $groupname2 }} | {{ $groupname3 }} | {{ __('Qty1') }} | {{ __('Gross1') }} | {{ __('Disc1') }} | {{ __('Nett1') }} | @if ($show_onhand){{ __('OnHand1') }} | @endif{{ __('Qty2') }} | {{ __('Gross2') }} | {{ __('Disc2') }} | {{ __('Nett2') }} | @if ($show_onhand){{ __('OnHand2') }} | @endif{{ __('Growth') }} | {{ __('Action') }} |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item['whs'] }} | {{ $item['group'] }} | {{ $item['group2'] }} | {{ $item['group3'] }} | {{ number_format($item['qty1']) }} | {{ number_format($item['gross1']) }} | {{ number_format($item['disc1']) }} | {{ number_format($item['nett1']) }} | @if ($show_onhand){{ number_format($item['onhand2']) }} | @endif{{ number_format($item['qty2']) }} | {{ number_format($item['gross2']) }} | {{ number_format($item['disc2']) }} | {{ number_format($item['nett2']) }} | @if ($show_onhand){{ number_format($item['onhand2']) }} | @endif{{ number_format($item['var'], 2) . '%' }} | @php $total_qty1 += $item['qty1']; $total_gross1 += $item['gross1']; $total_disc1 += $item['disc1']; $total_nett1 += $item['nett1']; $total_qty2 += $item['qty2']; $total_gross2 += $item['gross2']; $total_disc2 += $item['disc2']; $total_nett2 += $item['nett2']; @endphp @if ($show_onhand) @php $total_onhand1 += $item['onhand1']; $total_onhand2 += $item['onhand2']; @endphp @endif |
| Total | {{ number_format($total_qty1) }} | {{ number_format($total_gross1) }} | {{ number_format($total_disc1) }} | {{ number_format($total_nett1) }} | @if ($show_onhand){{ number_format($total_onhand1) }} | @endif{{ number_format($total_qty2) }} | {{ number_format($total_gross2) }} | {{ number_format($total_disc2) }} | {{ number_format($total_nett2) }} | @if ($show_onhand){{ number_format($total_onhand2) }} | @endif{{ number_format($growth, 2) . '%' }} | |||||