Commit bbba8ca
John75SunCity
fix: Portal inventory error + restore customer locations feature
- Fixed 'Invalid field status on records.container' error
- Changed box.status to box.state in portal_inventory_template.xml
- The model field is 'state' not 'status'
- Restored Customer Staging Locations feature in portal
- Added 'My Locations' tab to inventory dashboard tabs
- Added Locations card to Overview section
- Links to /my/inventory/locations for address/floor/room setup
- Updated /my/inventory/counts endpoint
- Changed from HTTP to JSON type for proper AJAX response
- Added temp inventory count
- Added staging locations count
Container states are: pending, in, out, perm_out, destroyed
(not draft - 'pending' is the initial state for newly created containers)1 parent 54cb11a commit bbba8ca
File tree
3 files changed
+49
-14
lines changed- records_management
- controllers
- templates
3 files changed
+49
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5411 | 5411 | | |
5412 | 5412 | | |
5413 | 5413 | | |
5414 | | - | |
| 5414 | + | |
5415 | 5415 | | |
5416 | | - | |
5417 | | - | |
| 5416 | + | |
5418 | 5417 | | |
5419 | 5418 | | |
5420 | 5419 | | |
| |||
5425 | 5424 | | |
5426 | 5425 | | |
5427 | 5426 | | |
5428 | | - | |
5429 | | - | |
5430 | | - | |
5431 | | - | |
5432 | | - | |
| 5427 | + | |
| 5428 | + | |
| 5429 | + | |
| 5430 | + | |
| 5431 | + | |
| 5432 | + | |
| 5433 | + | |
| 5434 | + | |
| 5435 | + | |
| 5436 | + | |
| 5437 | + | |
| 5438 | + | |
5433 | 5439 | | |
5434 | | - | |
5435 | | - | |
5436 | | - | |
5437 | | - | |
5438 | | - | |
| 5440 | + | |
| 5441 | + | |
| 5442 | + | |
| 5443 | + | |
| 5444 | + | |
| 5445 | + | |
| 5446 | + | |
5439 | 5447 | | |
5440 | 5448 | | |
5441 | 5449 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
| |||
135 | 141 | | |
136 | 142 | | |
137 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
138 | 159 | | |
139 | 160 | | |
140 | 161 | | |
| |||
165 | 186 | | |
166 | 187 | | |
167 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
168 | 194 | | |
169 | 195 | | |
170 | 196 | | |
| |||
190 | 216 | | |
191 | 217 | | |
192 | 218 | | |
| 219 | + | |
193 | 220 | | |
194 | 221 | | |
195 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| |||
0 commit comments