}
}
$db::sql("UPDATE store_orders_statuses SET dostup=?,groups=?, stores_show=? WHERE id=?",[json_encode($status_json,JSON_UNESCAPED_UNICODE), $groups_sql, $stores_show, $status_id ]);
-var_dump(json_encode($status_json[70][17],JSON_UNESCAPED_UNICODE));
//echo"<br> $status_id $status_json";
}
echo'<form method=post action="/shipment/config/">';
echo '<input type="hidden" name="_csrf" value="' . Yii::$app->request->getCsrfToken() . '" />';
+ echo '<input type="hidden" name="save_config2" value="1" />';
echo '<input type=hidden name=status_role value='.$status_id.'>';
$status_id=intval($status_id);
echo"<div onclick=\"$('#st__$status_id').toggle()\" class=\"btn btn-lg btn-info fs-6 m-1\">+ $status</div>
}
echo'</table>
- <input type="hidden" name="save_config2" value="1" />
+
<button class="btn btn-success btn-lg m-2">сохранить</button>
</div>';