|
@@ -33,11 +33,6 @@ class InsuranceListController extends AdminController
|
|
{
|
|
{
|
|
$actions->disableEdit();
|
|
$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->disableCreateButton();
|
|
$grid->model()->wherein('product_type',[6]);
|
|
$grid->model()->wherein('product_type',[6]);
|