|
@@ -121,7 +121,11 @@ class DistAdminDistributorController extends AdminController
|
|
|
->setTitleColumn('title')
|
|
|
->nodes($allNodes)
|
|
|
->exceptParentNode(false)
|
|
|
- ->width(9,3);
|
|
|
+ ->width(9,3)
|
|
|
+ ->saving(function ($v) {
|
|
|
+ return json_encode($v);
|
|
|
+ });
|
|
|
+
|
|
|
$form->text('dist_email',admin_trans_label('email'))->width(9,3);
|
|
|
$form->text('dist_contact_number',admin_trans_label('contact_number'))->width(9,3);
|
|
|
$form->text('address')->width(9,3);
|