Built files from Bizgaze WebServer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

checkindetails.js 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. var Unibase;
  2. (function (Unibase) {
  3. let Platform;
  4. (function (Platform) {
  5. let Membership;
  6. (function (Membership) {
  7. let Components;
  8. (function (Components) {
  9. class CheckinDetails extends Platform.Core.BaseComponent {
  10. init(containerid) {
  11. let instance = this;
  12. instance.load(null, containerid, null);
  13. }
  14. loadCheckInDetails(containerid) {
  15. let instance = this;
  16. let html = `<div class="modal-content">
  17. <div class="modal-header pa-10">
  18. <strong class="modal-title biz-highlight-bg-color">Attendence Details</strong>
  19. </div>
  20. <div data-simplebar class="modal-body simple-scroll-bar Create-New-Form-body bg-white">
  21. </div>
  22. <div class="modal-footer pa-10"> <button type="button" id="newAccountFormCloseBtn"
  23. class="btn btn-light btn-sm mr-auto">Close</button> <button type="button" id="newAccountFormSaveBtn"
  24. class="btn btn-primary hidden btn-sm">Save</button> </div>
  25. </div>`;
  26. $('#' + containerid).html(html);
  27. }
  28. load(id, containerid, callback) {
  29. var instance = this;
  30. instance.loadCheckInDetails(containerid);
  31. $(`#newAccountFormCloseBtn`).click(function () {
  32. instance.navigationHelper.closePopUp();
  33. });
  34. }
  35. jsFiles() {
  36. return ["platform/membership/components/checkindetails.js"];
  37. }
  38. cssFiles() {
  39. return [];
  40. }
  41. html(id, containerid) {
  42. var instance = this;
  43. let html = ``;
  44. return html;
  45. }
  46. static Instance() {
  47. if (this.instance === undefined)
  48. this.instance = new CheckinDetails();
  49. return this.instance;
  50. }
  51. }
  52. Components.CheckinDetails = CheckinDetails;
  53. })(Components = Membership.Components || (Membership.Components = {}));
  54. })(Membership = Platform.Membership || (Platform.Membership = {}));
  55. })(Platform = Unibase.Platform || (Unibase.Platform = {}));
  56. })(Unibase || (Unibase = {}));