@extends('admin.layouts.main') @section('panel')
@include('admin.partials.filter', [ 'is_filter' => true, 'is_modal' => false, 'route' => route('admin.crypto.currencies.index'), 'btn_name' => __('admin.filter.search'), 'filters' => [ [ 'type' => \App\Enums\FilterType::SELECT_OPTIONS->value, 'value' => \App\Enums\Status::toArrayByKey(), 'name' => 'status', ], [ 'type' => \App\Enums\FilterType::TEXT->value, 'name' => 'search', 'placeholder' => __('admin.filter.placeholder.crypto') ], ], ]) @include('admin.partials.table', [ 'columns' => [ 'pair' => __('admin.table.pair'), 'name' => __('admin.table.name'), 'symbol' => __('admin.table.symbol'), 'crypto_current_price' => __('admin.table.price'), 'crypto_price_change_24h' => __('admin.table.daily_change'), 'crypto_high_24h' => __('admin.table.daily_high'), 'crypto_low_24h' => __('admin.table.daily_low'), 'crypto_market_cap' => __('admin.table.market_cap'), 'status' => __('admin.table.status'), 'action' => __('admin.table.action'), ], 'rows' => $cryptoCurrencies, 'page_identifier' => \App\Enums\PageIdentifier::CRYPTO_CURRENCY->value, ])
@endsection @push('script-push') @endpush