restore composer.json, add mysqli extension
This commit is contained in:
13
app/Http/Controllers/Payments/key_model.php
Executable file
13
app/Http/Controllers/Payments/key_model.php
Executable file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$id = (int) $key;
|
||||
|
||||
$billing = \App\Models\Billing::find($id);
|
||||
if (!empty($billing)) {
|
||||
if ($billing->status == 'waiting') {
|
||||
return $billing;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user