ChenWuJie il y a 4 ans
Parent
commit
f44e7274f3

+ 0 - 5
app/Admin/Controllers/OrdersManagement/InsuranceListController.php

xqd
@@ -33,11 +33,6 @@ class InsuranceListController extends AdminController
            {
                $actions->disableEdit();
            }
-           $has_pdf = OrderPack::where('order_id',$actions->row->id)->value('insurance_img_url');
-           if (!empty($has_pdf))
-           {
-               $actions->add(new PdfAction());
-           }
         });
         $grid->disableCreateButton();
         $grid->model()->wherein('product_type',[6]);