@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') {!! Html::style(Theme::current()->assetPath.'/pages/css/profile.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/css/plugins.min.css') !!} {!! Html::style(theme_url('css/bootstrap-datepicker.min.css')) !!} @endsection @section('content') {!! Form::open(array('route' => 'stores.orders','method' => 'POST', 'class' => 'form-horizontal','id' => 'myform')) !!}
{{ __('Reports') }} / {{ __('Store') }}

{!! __('Number of items') !!}

{{ @$data['stock_all'] ?? 0 }} {!! __('Item') !!}
+{{ getNumberPercent(@$data['stock_in'],@$data['stock_all']) }}%
{!! __('Varieties are available') !!} ({{ @$data['stock_in'] ?? 0 }})
+{{ getNumberPercent(@$data['stock_wanted'],@$data['stock_all']) }}%
{!! __('Required items') !!} ({{ @$data['stock_wanted'] ?? 0 }})

{!! __('Few balance') !!}

+{{ getNumberPercent(@$data['stock_out'],@$data['stock_all']) }}%
{!! __('Required items') !!} ({{ @$data['stock_out'] ?? 0 }})

{!! __('Balance equals zero') !!}

{!! __('Quantity') !!} -

@if ($products->total() > 0)
{!! __('Results No') !!} ({{ $products->total() }} {!! __('Item') !!}) {!! __('Gross profit') !!} ( {{__('Selling price')}} - {{__('Cost price')}}) * {{__('Quantity')}}
@foreach ($products as $index => $item) @endforeach
{{__('Item')}} {{__('Category')}} {{__('Selling price')}} {{__('Cost price')}} {{__('Quantity')}} {{__('Gross profit')}}
{{ $loop->index + $products->firstItem() }} @if ($item->depth > 1) {!! str_repeat('-',$item->depth) !!}◄ @endif {{ $item->title }} {{ @$item->Category->title }} {{ round($item->price) }} {!! __('EGP') !!} {{ round($item->price_cost) }} {!! __('EGP') !!} {{ $item->stock }} {{ ($item->price - $item->price_cost)*$item->stock }} {!! __('EGP') !!}
@else

{!! __('No Results') !!}


@endif
{!! Form::close() !!} @endsection @section('scripts') {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/lib/markdown.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/js/bootstrap-markdown.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-ui/jquery-ui.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-easypiechart/jquery.easypiechart.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/pages/scripts/dashboard.min.js') !!} {!! Html::script(theme_url('js/bootstrap-datepicker.min.js')) !!} {!! Html::script(theme_url('js/bootstrap-datepicker.ar.min.js')) !!} @endsection