@extends ('core.layouts.app') @section ('title', trans('labels.backend.products.management')) @section('page-header')

{{ trans('labels.backend.products.management') }}

@endsection @section('content')

{{ trans('labels.backend.products.management') }}

@include('focus.products.partials.products-header-buttons')
@if($segment)

@if(request('rel_type') == 2){{trans('warehouses.title')}}@else {{trans('productcategories.title')}} @endif

{{$segment['title']}}

{{trans('productcategories.extra')}}

{{$segment['extra']}}

@if(!$segment['c_type'])

{{trans('productcategories.total_products')}}

{{numberFormat($segment->products->sum('qty'))}}

{{trans('productcategories.total_worth')}}

{{amountFormat($segment->products->sum('total_value'))}}

@endif @if(isset($segment->subcategories[0]))

{{ trans('productcategories.sub_categories') }}

# {{ trans('productcategories.title') }} {{ trans('general.createdat') }} {{ trans('labels.general.actions') }}
@endif @endif
{{ trans('labels.backend.products.table.id') }} {{ trans('products.name') }} {{ trans('products.productcategory_id') }} {{ trans('products.warehouse_id') }} {{ trans('products.qty') }} {{ trans('products.price') }} {{ trans('general.createdat') }} {{ trans('products.code') }} {{ trans('labels.general.actions') }}
@endsection @section('after-scripts') {{-- For DataTables --}} {{ Html::script(mix('js/dataTable.js')) }} @endsection