move reportUrl and reportProjectId from config to setting

This commit is contained in:
tzw
2024-10-07 20:42:45 +06:30
parent ff55b219e3
commit 966758d2f8
15 changed files with 75 additions and 69 deletions

View File

@@ -157,9 +157,12 @@ class FcsShipmentModel extends BaseModel {
void initUser(user) {
super.initUser(user);
_loadShipmentTypes();
_loadShipmentConsignees();
_loadShipmentPorts();
if (user != null && user.hasFcsShipments()) {
_loadShipmentTypes();
_loadShipmentConsignees();
_loadShipmentPorts();
}
}
@override