⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.91
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
wesellnew
/
core
/
resources
/
views
/
back
/
code
/
View File Name :
table.blade.php
@foreach($datas as $data) <tr> <td> {{ $data->title }} </td> <td> {{ $data->code_name }} </td> <td> {{ $data->no_of_times }} </td> <td> @if ($data->type == 'amount') {{ PriceHelper::adminCurrencyPrice($data->discount) }} @else {{ $data->discount }} % @endif </td> <td> <div class="dropdown"> <button class="btn btn-{{ $data->status == 1 ? 'success' : 'danger' }} btn-sm dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> {{ $data->status == 1 ? __('Enabled') : __('Disabled') }} </button> <div class="dropdown-menu animated--fade-in" aria-labelledby="dropdownMenuButton"> <a class="dropdown-item" href="{{ route('back.code.status',[$data->id,1]) }}">{{ __('Enable') }}</a> <a class="dropdown-item" href="{{ route('back.code.status',[$data->id,0]) }}">{{ __('Disable') }}</a> </div> </div> </div> </td> <td> <div class="action-list"> <a class="btn btn-secondary btn-sm " href="{{ route('back.code.edit',[$data->id]) }}"> <i class="fas fa-edit"></i> </a> <a class="btn btn-danger btn-sm " data-toggle="modal" data-target="#confirm-delete" href="javascript:;" data-href="{{ route('back.code.destroy',[$data->id]) }}"> <i class="fas fa-trash-alt"></i> </a> </div> </td> </tr> @endforeach