@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') !!} @endsection @section('content')
@if ($balances->total() > 0) {!! Form::open(array('route' => 'save.product.balances','method' => 'post', 'class' => 'form-inline margin-bottom-0')) !!}
{!! __('Results No') !!} ({{ $balances->total() }} {!! __('Item') !!})
@foreach ($balances as $index => $item) @endforeach
{{__('an item')}} {{__('Category')}} {{__('Date added')}} {{__('Quantity')}} {{__('Cost price')}} {{__('Selling price')}}
{{ $loop->index + $balances->firstItem() }} {{ $item->product->title }} {{ @$item->product->Category->title }} {{ $item->created_at->format('Y-m-d , H:i') }} {{ $item->quantity ?? '-' }} {{ $item->price_cost ?? '-' }} {{ $item->price ?? '-' }}
{{ Form::close() }} @else

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


@endif
@endsection @section('scripts') {!! Html::script(Theme::current()->assetPath.'/jquery-mask-as-number.min.js') !!} {!! 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') !!} @endsection