-
- Downloads
feat: add attributes to createCustomer function
This commit includes enhancements in customer creation feature. Specifically, it modifies the `createCustomer` function by adding a new parameter `$attributes` to handle attribute data during customer creation process. Moreover, it introduces UI components to collect these attribute details. Updates have been made to the associated form elements, button actions and display methods to accommodate these changes. In addition, it makes considerable changes in the backend JavaScript files to facilitate frontend changes and to meet compatibility. There's also a change in error handling part where it replaces the `try-catch` block, which attempt to get the standard address, with direct command. This assures the retrieval of the standard address, if exists, else a new address will be created implicitly. Finally, few general code improvements are done like changing usage of `var` to `const` or `let` where necessary for better maintainability. A minor adjustment on window height property is also made in `CustomerWindow.js` file. Related: #68
Übergeordneter
13946ec2
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
- ajax/backend/create/createCustomer.php 8 Ergänzungen, 2 Löschungenajax/backend/create/createCustomer.php
- ajax/backend/getBusinessType.php 18 Ergänzungen, 0 Löschungenajax/backend/getBusinessType.php
- bin/backend/controls/create/Customer.html 14 Ergänzungen, 0 Löschungenbin/backend/controls/create/Customer.html
- bin/backend/controls/create/Customer.js 70 Ergänzungen, 42 Löschungenbin/backend/controls/create/Customer.js
- bin/backend/controls/create/CustomerWindow.js 2 Ergänzungen, 1 Löschungbin/backend/controls/create/CustomerWindow.js
- src/QUI/ERP/Customer/Customers.php 1 Ergänzung, 5 Löschungensrc/QUI/ERP/Customer/Customers.php
Lade
Bitte registrieren oder Anmelden zum Kommentieren