@extends('layouts.admin') @section('content') @php $theme = request()->cookie('theme', 'dark-blue'); $isLight = in_array($theme, ['light-blue', 'light-green']); $cardBg = $isLight ? 'bg-white' : 'bg-gray-800'; $textPrimary = $isLight ? 'text-gray-900' : 'text-gray-200'; $textSecondary = $isLight ? 'text-gray-600' : 'text-gray-400'; $borderColor = $isLight ? 'border-gray-200' : 'border-gray-700'; $thBg = $isLight ? 'bg-gray-50' : 'bg-gray-700'; $inputBg = $isLight ? 'bg-white' : 'bg-gray-700'; $inputBorder = $isLight ? 'border-gray-300' : 'border-gray-600'; @endphp {{-- Toast 通知 --}} @if(session('success'))
{{ session('success') }}
@endif

儲值回饋設定

@forelse($rules as $rule) @empty @endforelse
名稱 最低儲值 回饋類型 回饋值 狀態 操作
{{ $rule->name }} ${{ number_format($rule->min_amount) }} {{ $rule->bonus_type == 'fixed' ? '固定金額' : '百分比' }} {{ $rule->bonus_type == 'fixed' ? '$'.number_format($rule->bonus_value) : $rule->bonus_value.'%' }} @if($rule->is_active) 啟用 @else 停用 @endif
@csrf @method('DELETE')
尚無資料
{{-- Create Modal --}} @endsection