Base solution for your next web application

Activities of "williepieterse"

Answer

How would you add an additional cost for the feature over and above the cost the Edition on the subcription page?

Thanks, I manged to implement this successfully, I had to add a new function to manage-dynamic-entity-property-values-modal-min.js

function savefor(entityId) {...

This allowed me to pass the EntityId for a newly Created entity. And also does not set the Busy and Succes Message otherwize it would dispay twice.

this.save = function () {
            if (!_$employeeInformationForm.valid()) {
                return;
            }
            var employee = _$employeeInformationForm.serializeFormToObject();
            _modalManager.setBusy(true);
            _employeesService.createOrEdit(
                employee
            ).done(function (Id) {
                //Save DynamicEntityPropertyValue after receiving ID from createOrEdit
                _manageDynamicEntityPropertyValueBase.savefor(Id);

                abp.notify.info(app.localize('SavedSuccessfully'));
                _modalManager.close();
                abp.event.trigger('app.createOrEditEmployeeModalSaved');
            }).always(function () {
                _modalManager.setBusy(false);
            });
        };
Showing 1 to 2 of 2 entries