12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- @using Comal.Classes
- @using GenHTTP.Api.Protocol
- @using GenHTTP.Modules.IO;
- @using InABox.Core
- @{
- var summary = new LicenseSummary {
- LicenseFees = new() {
- { typeof(CoreLicense).EntityName(), 7.99 },
- { typeof(DigitalFormsLicense).EntityName(), 3.99 },
- { typeof(SchedulingControlLicense).EntityName(), 1.99 },
- { typeof(TimeManagementLicense).EntityName(), 2.99 },
- { typeof(AccountsPayableLicense).EntityName(), 1.99 },
- { typeof(GPSTrackerLicense).EntityName(), 2.99 },
- { typeof(LogisticsLicense).EntityName(), 4.99 },
- { typeof(ScheduleEngineLicense).EntityName(), 2.99 },
- { typeof(QuotesManagementLicense).EntityName(), 4.99 },
- { typeof(LeaveManagementLicense).EntityName(), 2.99 },
- { typeof(TaskManagementLicense).EntityName(), 1.99 },
- { typeof(WarehouseLicense).EntityName(), 5.99 },
- { typeof(ProjectManagementLicense).EntityName(), 4.99 },
- { typeof(ManufacturingLicense).EntityName(), 4.99 },
- { typeof(ProductManagementLicense).EntityName(), 2.99 },
- { typeof(EquipmentLicense).EntityName(), 2.99 },
- { typeof(HumanResourcesLicense).EntityName(), 2.99 },
- { typeof(AccountsReceivableLicense).EntityName(), 1.99 }
- },
- TimeDiscounts = new() {
- { 1, 0.00 },
- { 3, 5.00 },
- { 6, 5.00 },
- { 12, 10.00 }
- },
- UserDiscounts = new() {
- { 1, 00.31 },
- { 6, 08.63 },
- { 11, 16.94 },
- { 21, 25.25 },
- { 51, 33.57 }
- }
- };
- Model.Respond()
- .Status(ResponseStatus.OK)
- .Content(Serialization.Serialize(summary));
- return;
- }
|