Base solution for your next web application
Open Closed

Edition with commission #6951


User avatar
0
ectabyte created

Hi, How can we modify edition entity to accept commission (ex. 10%) rather than just monthly or annual price?


4 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, you can refer to the tutorials for extending existing entity and add commission field to it.

    https://docs.aspnetzero.com/documents/aspnet-core-angular/latest/Extending-Existing-Entities#derive-from-edition-entity

  • User Avatar
    0
    ectabyte created

    Nice, Thank you..

  • User Avatar
    0
    ectabyte created

    In the link above there is no explanation how to display the field (in my case 'commission') on the UI (angular). Is there a tut. for this purpose.

  • User Avatar
    0
    ismcagdas created
    Support Team

    @ectabyte

    This tutorial is for JQuery version but if you add the field to related DTO class, it should be send to client. Then you can run angular/nswag/refresh.bat to update your client side service proxies and use the related field on the UI part as well.