@foreach ($companies as $company)
@endforeach
{{-- 搜尋按鈕 --}}
{{-- 重置按鈕 --}}
|
{{ __('Machine Information') }}
|
{{ __('Company') }}
|
{{ __('Enabled Features') }}
|
{{ __('Actions') }}
|
@forelse($machines as $machine)
@php
$activeFeatures = [];
if ($machine->tax_invoice_enabled) $activeFeatures[] = __('Electronic Invoice');
if ($machine->card_terminal_enabled) $activeFeatures[] = __('Includes Credit Card/Mobile Pay');
if ($machine->scan_pay_esun_enabled) $activeFeatures[] = __('E.SUN Bank Scan');
if ($machine->scan_pay_linepay_enabled) $activeFeatures[] = __('LinePay Payment');
if ($machine->shopping_cart_enabled) $activeFeatures[] = __('Shopping Cart');
if ($machine->welcome_gift_enabled) $activeFeatures[] = __('Welcome Gift');
if ($machine->cash_module_enabled) $activeFeatures[] = __('Coin/Banknote Machine');
if ($machine->member_system_enabled) $activeFeatures[] = __('Member System');
@endphp
{{ $machine->serial_no }}
|
{{ $machine->company?->name ?? __('System') }}
|
@forelse($activeFeatures as $feature)
{{ $feature }}
@empty
{{ __('None') }}
@endforelse
|
|
@empty
@endforelse
@forelse($machines as $machine)
@php
$activeFeatures = [];
if ($machine->tax_invoice_enabled) $activeFeatures[] = __('Electronic Invoice');
if ($machine->card_terminal_enabled) $activeFeatures[] = __('Includes Credit Card/Mobile Pay');
if ($machine->scan_pay_esun_enabled) $activeFeatures[] = __('E.SUN Bank Scan');
if ($machine->scan_pay_linepay_enabled) $activeFeatures[] = __('LinePay Payment');
if ($machine->shopping_cart_enabled) $activeFeatures[] = __('Shopping Cart');
if ($machine->welcome_gift_enabled) $activeFeatures[] = __('Welcome Gift');
if ($machine->cash_module_enabled) $activeFeatures[] = __('Coin/Banknote Machine');
if ($machine->member_system_enabled) $activeFeatures[] = __('Member System');
@endphp
{{-- Card Header --}}
{{ $machine->serial_no }}
{{ $machine->company?->name ?? __('System') }}
{{-- Active Features --}}
{{ __('Enabled Features') }}
@forelse($activeFeatures as $feature)
{{ $feature }}
@empty
{{ __('None') }}
@endforelse
{{-- Action Button --}}
@empty
@endforelse
{{ $machines->appends(['tab' => 'system_settings', 'search' => request('search'), 'company_id' => request('company_id')])->links('vendor.pagination.luxury') }}