PATH:
home
/
rwabteecom
/
public_html_olld
/
resources
/
views
/
sadmin
/
nfc_card_order
/
columns
/
Editing: payment_status.blade.php
@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
SAVE
CANCEL