D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
dateitor
/
public_html
/
resources
/
views
/
sadmin
/
nfc_card_order
/
columns
/
Filename :
payment_status.blade.php
back
Copy
@if (empty($row->nfcTransaction) || $row->nfcTransaction->status == App\Models\NfcOrders::FAIL) <span class="badge bg-light-danger">{{ __('messages.nfc.failed') }}</span> @else @if ($row->nfcTransaction->status == App\Models\NfcOrders::PENDING) <div class="form-check form-switch"> <input class="form-check-input paymentStatus" type="checkbox" id="paymentStatus" name="is_active" data-id="{{ $row->nfcTransaction->id }}"> </div> @elseif($row->nfcTransaction->status == App\Models\NfcOrders::SUCCESS) <span class="badge bg-success">{{ __('messages.nfc.paid') }}</span> @elseif (empty($row->nfcTransaction->status)) <span class="badge bg-danger">{{ __('messages.nfc.failed') }}</span> @endif @endif