07-30-2016, 03:15 PM
Okay, my changes include these mostly:
- Add jQuery UI: https://github.com/Luke1982/crm-cbx/blob/master/modules/Calendar4You/addEventUI.php#L166-L178
- Input fields to the UI https://github.com/Luke1982/crm-cbx/blob/master/modules/Calendar4You/addEventUI.php#L371-L382
- Adding hidden field for the SalerOrder relation https://github.com/Luke1982/crm-cbx/blob/master/modules/Calendar4You/addEventUI.php#L333
- Adding autocomplete to thesde fields https://github.com/Luke1982/crm-cbx/blob/master/modules/Calendar4You/addEventUI.php#L333
- Adding the pre-save check to see if salesorder was selected and updating the salesorder on saving the event: https://github.com/Luke1982/crm-cbx/blob/master/modules/Calendar4You/addEventUI.php#L278-L300
- JSON file for the autocomplete: https://github.com/Luke1982/crm-cbx/blob/master/modules/Calendar4You/JSON.php
- Updating the salesorder: https://github.com/Luke1982/crm-cbx/blob/master/modules/Calendar4You/updateSO.php
- Adding the related sales order to the event's white pop-up: https://github.com/Luke1982/crm-cbx/blob/master/modules/Calendar4You/Events.php#L338-L345