Revision 065cf8d5
Von Kivitendo Admin vor mehr als 7 Jahren hinzugefügt
SL/Controller/Part.pm | ||
---|---|---|
1299 | 1299 |
|
1300 | 1300 |
controller.pl?action=Part/add&part_type=service |
1301 | 1301 |
|
1302 |
=item C<action_add_from_record> |
|
1303 |
|
|
1304 |
When adding new items to records they can be created on the fly if the entered |
|
1305 |
partnumber or description doesn't exist yet. After being asked what part type |
|
1306 |
the new item should have the user is redirected to the correct edit page. |
|
1307 |
|
|
1308 |
Depending on whether the item was added from a sales or a purchase record, only |
|
1309 |
the relevant part classifications should be selectable for new item, so this |
|
1310 |
parameter is passed on via a hidden parts_classification_type in the new_item |
|
1311 |
template. |
|
1312 |
|
|
1302 | 1313 |
=item C<action_save> |
1303 | 1314 |
|
1304 | 1315 |
Saves the current part and then reloads the edit page for the part. |
Auch abrufbar als: Unified diff
Part Controller - Doku zu action_add_from_record