diff --git a/app/Admin/Controllers/DealerOrderController.php b/app/Admin/Controllers/DealerOrderController.php index 429c0666..2b546af5 100644 --- a/app/Admin/Controllers/DealerOrderController.php +++ b/app/Admin/Controllers/DealerOrderController.php @@ -106,8 +106,8 @@ class DealerOrderController extends AdminController } if (( $actions->row->isPending() //待确认 - || $actions->row->isPay() //待付款 - || $actions->row->isPaid() //待收款 + || $actions->row->isPendinged() //待付款 + || $actions->row->isPay()//待收款 ) && Admin::user()->can('dcat.admin.dealer_orders.cancel')) { $actions->append(new DealerOrderCancel()); }