Add account next invoice
This commit is contained in:
@@ -37,7 +37,8 @@ class ChargeController extends Controller
|
||||
public function delete(Charge $o): array
|
||||
{
|
||||
if (Gate::allows('delete',$o)) {
|
||||
$o->delete();
|
||||
$o->active = FALSE;
|
||||
$o->save();
|
||||
|
||||
return ['ok'];
|
||||
|
||||
|
Reference in New Issue
Block a user