namibia
df0489e1eeeeab5a9bd44e1d84fce49924fe1bac
namibia / public / templates / page / appointmentedit.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
var template_appointmentedit = function( static ) { this.static = static; this.elements = { firstName : new App.TemplateElement.FieldComponent('firstName'), familyName : new App.TemplateElement.FieldComponent('familyName'), idNumber : new App.TemplateElement.FieldComponent('idNumber'), mobile : new App.TemplateElement.FieldComponent('mobile'), email : new App.TemplateElement.FieldComponent('email'), requiredPrice : new App.TemplateElement.FieldComponent('requiredPrice'), customerAddressStreet : new App.TemplateElement.FieldComponent('customerAddressStreet'), customerAddressStreetName : new App.TemplateElement.FieldComponent('customerAddressStreetName'), customerAddressSuburb : new App.TemplateElement.FieldComponent('customerAddressSuburb'), customerAddressCity : new App.TemplateElement.FieldComponent('customerAddressCity'), customerAddressPostalCode : new App.TemplateElement.FieldComponent('customerAddressPostalCode'), appointmentDate : new App.TemplateElement.FieldComponent('appointmentDate'), appointmentCompleted : new App.TemplateElement.FieldComponent('appointmentCompleted'), appointmentCancelled : new App.TemplateElement.FieldComponent('appointmentCancelled'), appointmentDateCancelled : new App.TemplateElement.FieldComponent('appointmentDateCancelled'), appointmentCancelledComments : new App.TemplateElement.FieldComponent('appointmentCancelledComments'), timeSlot : new App.TemplateElement.FieldComponent('timeSlot') }; this.construct = function() { /*var isMobile = window.matchMedia("only screen and (max-width: 760px)"); // do a check for mobile file uploads... if (!isMobile.matches) { alert('Your Phone does not support image uploads .'); }*/ $('#PublicMenu').show(); $('#PublicMenu li.select_page').removeClass('select_page'); $('#PublicMenu a[href="#/appointmentedit"]').parent().addClass('select_page'); $('#terms').parent().addClass("acceptTerms"); $('#frmModal').modal('hide'); //$('#modalFormContent').html('Loading...'); }; this.destruct = function() {}; }; |
Commits for namibiapublic/templates/page/appointmentedit.js
Revision | Author | Commited | Message |
---|---|---|---|
df0489 ... | Mark | Fri 14 Oct, 2016 10:01:00 +0000 | initial commit |