@extends('layouts.admin-main') @section('content')
@foreach ($products as $index => $product) is_active) class="inactive" @endif> @endforeach
# {{ __('message.order') }} {{ __('message.name') }} {{ __('message.full name') }} {{ __('message.image') }} {{ __('message.commision rate') }} {{ __('message.sectors') }} {{ __('message.price') }} {{ __('message.status') }} {{ __('message.created by') }} {{ __('message.created date') }} {{ __('message.action') }}
{{ $index + 1 }} {{ $product->order }} {{ $product->name }} {{-- @if($product->is_crypto) @endif --}} {{ $product->detail??'' }} @if($product->image) @endif {{ number_format($product->commission_rate,2) }}% {{ $product->sector->name??'' }} {{ number_format($product->current_price,6) }} @if ($product->is_active) @else @endif {{ $product->user->name ?? '' }} {{-- {{$product->created_at->format('d/m/Y H:i')}} --}} {{ __('message.price history') }} @if ($product->is_active == 1) {{ __('message.deactivate') }} @else {{ __('message.activate') }} @endif
{{ csrf_field() }}
{{-- {{ $products->appends($_GET)->links() }} --}}
@endsection @section('scripts') @endsection @section('meta') {{ __('message.products') }} - {{ config('app.name', 'Dashboard') }} @endsection