@extends('layouts.master') @section('title', 'Product | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', __('basic.product records')) @section('css') @endsection @section('fixedcontent') @if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @endsection @section('content')
{{ __('basic.dashboard') }} | {{ __('basic.inventory') }} | {{ __('basic.products') }} | {{ __('basic.product records') }} @role('Super-admin|Hr')
{{ __('basic.print barcode') }} {{ __('basic.print') }} {{ __('basic.edit') }} {{ __('basic.delete') }} {{ __('basic.new record') }}
@endrole
{{ __('basic.product records') }}

{{ $product->name }}

{{ $product->name }}

SKU {{ $product->sku }}

{{ __('basic.total selling') }}

{{ $product->total_selling }}

{{ __('basic.low quantity notify') }}

{{ $product->quantity_notify }}

{{ __('basic.quantity') }}

{{ $product->quantity }}

{!! DNS1D::getBarcodeSVG("$product->barcode", 'C39', 1, 60, 'black',false); !!}

{{ $product->barcode }}

{{ $product->sell_price . " " . $currency->name}}


    @if($product->records) @foreach ($product->records as $item) @if ($item->type == 0) @php $type_text = __('basic.add'); $text_color = 'done-color'; @endphp @elseif ($item->type == 1) @php $type_text = __('basic.withdraw'); $text_color = 'cancel-color'; @endphp @endif
  • {{ date('d M Y', strtotime($item->record_date)) }}

    {{ $type_text }}

    {{ $item->warehouse->name }}

    {{ __('basic.worker') }}

    {{ $item->worker->full_name }}

    {{ __('basic.price') }}

    {{ $item->price }}

    {{ __('basic.quantity') }}

    {{ $item->quantity }}

    {{ __('basic.quantity after') }}

    {{ $item->quantity_after }}
  • @endforeach @endif
  • {{ date('d M Y', strtotime($product->created_at)) }}

    Created Item
{{ __('basic.product records during the year') }}
{{ __('basic.add') }} {{ __('basic.withdraw') }}
@endsection @section('js') @php $chart_color = ['#323ac8', '#38dfa8','#1a78f1', '#d13c62', '#12c7d9', '#03c2c3', '#5035df', '#17a673', '#2e59d9', '#9aeded', '#f3d56a', '#7c859d', '#a4adc5', '#80142f', '#33d293', '#bed233', '#3958e9', '#10c86f', '#654fb6', '#a44fb6', '#89728e', '#c85110', '#6d769d', '#1b6954', '#204494', '#94206b', '#948320', '#209493', '#292094', '#203a65', '#4e6fa5', '#e29031', '#e23168', '#31e0e2', '#e29131', '#319fe2', '#8131e2', '#31a8e2', '#31e2c0', '#31c3e2', '#e2a931', '#3157e2', '#dc3545', '#51b24b', '#a94bb2', '#4b8bb2', '#57b24b', '#a5b24b', '#b2804b', '#b24b4b', '#834bb2', '#b24b6a', '#574bb2', '#236368', '#232c68', '#682345', '#4b2368', '#234b68', '#306823', '#a39f39', '#a239a3', '#a33963', '#a33951', '#a33939', '#c73737', '#6837c7']; @endphp @endsection