| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- @extends('base.base')
- @section('base')
- <div class="container">
- <h1>{{ __('repay_config.RePay Configurations') }}</h1>
- <a href="{{ route('repay_config.create') }}" class="btn btn-primary">{{ __('repay_config.Add New Configuration') }}</a>
- <table class="table mt-4">
- <thead>
- <tr>
- <th>{{ __('repay_config.ID') }}</th>
- <th>{{ __('repay_config.Pay Total') }}</th>
- <th>{{ __('repay_config.Pay Times') }}</th>
- <th>{{ __('repay_config.Withdraw Total') }}</th>
- <th>{{ __('repay_config.Less Than') }}</th>
- <th>{{ __('repay_config.Condition') }}</th>
- <th>{{ __('repay_config.Price') }}</th>
- <th>{{ __('repay_config.Amount') }}</th>
- <th>{{ __('repay_config.Gift') }}</th>
- <th>{{ __('repay_config.Time Limit') }}</th>
- <th>{{ __('repay_config.Status') }}</th>
- <th>{{ __('repay_config.Actions') }}</th>
- </tr>
- </thead>
- <tbody>
- @foreach($repayConfigs as $config)
- <tr>
- <td>{{ $config->id }}</td>
- <td>{{ $config->PayTotal }}</td>
- <td>{{ $config->PayTimes }}</td>
- <td>{{ $config->WithdrawTotal }}</td>
- <td>{{ $config->LessThan }}</td>
- <td>{{ $config->Condition }}</td>
- <td>{{ $config->Price }}</td>
- <td>{{ $config->Amount }}</td>
- <td>{{ $config->Gift }}</td>
- <td>{{ $config->TimeLimit }}</td>
- <td>{{ $config->Status ? __('repay_config.Active') : __('repay_config.Inactive') }}</td>
- <td>
- <a href="{{ route('repay_config.show', $config->id) }}" class="btn btn-info">{{ __('repay_config.View') }}</a>
- <a href="{{ route('repay_config.edit', $config->id) }}" class="btn btn-warning">{{ __('repay_config.Edit') }}</a>
- <form action="{{ route('repay_config.destroy', $config->id) }}" method="POST" style="display:inline;">
- @csrf
- @method('DELETE')
- <button type="submit" class="btn btn-danger" onclick="return confirm('{{ __('repay_config.Are you sure?') }}')">{{ __('repay_config.Delete') }}</button>
- </form>
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- @endsection
|