Browse Source

Feedback 2 Minor changes

master
30117125 4 years ago
parent
commit
9b184e2bde

+ 1
- 1
src/assets/myData.js View File

1
 const items = {
1
 const items = {
2
   seasons: ['Peak 1', 'Peak 2', 'Peak 3', 'Peak 4', 'Red', 'White', 'Blue', 'Flexi'],
2
   seasons: ['Peak 1', 'Peak 2', 'Peak 3', 'Peak 4', 'Red', 'White', 'Blue', 'Flexi'],
3
   resortBedrooms: ['Studio', '1', '2', '3', '4', '5', '6'],
3
   resortBedrooms: ['Studio', '1', '2', '3', '4', '5', '6'],
4
-  maxBedrooms: ['2', '4', '6', '8', '10', '12'],
4
+  maxBedrooms: ['2', '4', '5', '6', '8', '10', '12'],
5
   bankedEntities: ['Dial an Exchange', 'RCI', 'First Exchange', 'iExchange',
5
   bankedEntities: ['Dial an Exchange', 'RCI', 'First Exchange', 'iExchange',
6
     'Interval International',
6
     'Interval International',
7
   ],
7
   ],

+ 7
- 6
src/components/admin/status/editTimeShareAdminPage.vue View File

217
                   <div class="validation"></div>
217
                   <div class="validation"></div>
218
                 </div>
218
                 </div>
219
                 <div class="form-group col-md-6 mt-2">
219
                 <div class="form-group col-md-6 mt-2">
220
-                  <label v-if="week.askingPrice > 0" for="tsaPrice" class="uniSelectLabel"
221
-                    >ASKING PRICE</label
222
-                  >
223
-                  <float-label label="ASKING PRICE">
220
+                  <float-label label="ASKING PRICE" fixed>
224
                     <currency-input
221
                     <currency-input
225
                       onclick="this.setSelectionRange(0, this.value.length)"
222
                       onclick="this.setSelectionRange(0, this.value.length)"
226
                       name="tsaPrice"
223
                       name="tsaPrice"
664
       }
661
       }
665
       this.weekParam.arrivalDate = new Date(this.dateParam).toISOString().substring(0, 10);
662
       this.weekParam.arrivalDate = new Date(this.dateParam).toISOString().substring(0, 10);
666
       this.weekParam.departureDate = new Date(this.depDateParam).toISOString().substring(0, 10);
663
       this.weekParam.departureDate = new Date(this.depDateParam).toISOString().substring(0, 10);
667
-      this.weekParam.pulbishedDate = new Date(this.pubDateParam).toISOString().substring(0, 19);
664
+      console.log(this.pubDateParam);
665
+      if (this.pubDateParam) {
666
+        this.weekParam.pulbishedDate = new Date(this.pubDateParam).toISOString().substring(0, 19);
667
+      }
668
+
668
       //this.weekParam.regionId = this.weekParam.region.id;
669
       //this.weekParam.regionId = this.weekParam.region.id;
669
       this.weekParam.agentId = this.week.agentId;
670
       this.weekParam.agentId = this.week.agentId;
670
       //this.weekParam.bankedWith = this.week.bankedWith;
671
       //this.weekParam.bankedWith = this.week.bankedWith;
681
       delete this.weekParam.owner.howMarried;
682
       delete this.weekParam.owner.howMarried;
682
       delete this.weekParam.cellNumber;
683
       delete this.weekParam.cellNumber;
683
       //console.log(JSON.stringify(this.weekParam));
684
       //console.log(JSON.stringify(this.weekParam));
684
-      //console.log(this.weekParam);
685
+      console.log(this.weekParam);
685
       this.editSave(this.weekParam).then(() => {
686
       this.editSave(this.weekParam).then(() => {
686
         this.backToListView();
687
         this.backToListView();
687
       });
688
       });

+ 2
- 3
src/components/misc/contactUs.vue View File

121
             <p></p>
121
             <p></p>
122
             <p>
122
             <p>
123
               105 Lombardy Business Park
123
               105 Lombardy Business Park
124
-              <br />Cnr. Graham and Cole Rd.
125
-              <br />Shere, Pretoria, 0084
124
+              <br />Cnr. Graham and Cole Rd. <br />Shere, Pretoria, 0084
126
             </p>
125
             </p>
127
             <br />
126
             <br />
128
             <eva-icon name="paper-plane-outline" fill="#60CBEB"></eva-icon>
127
             <eva-icon name="paper-plane-outline" fill="#60CBEB"></eva-icon>
133
               <a href="mailto:info@univateproperties.co.za">info@univateproperties.co.za</a>
132
               <a href="mailto:info@univateproperties.co.za">info@univateproperties.co.za</a>
134
               <br />
133
               <br />
135
               <eva-icon name="phone-call-outline" fill="#60CBEB"></eva-icon>
134
               <eva-icon name="phone-call-outline" fill="#60CBEB"></eva-icon>
136
-              <a href="tel:+27124921238">+27 (0) 12 492 1238</a>
135
+              <a href="tel:+27129418497">+27 (0)12 941 8497</a>
137
             </p>
136
             </p>
138
             <br />
137
             <br />
139
             <eva-icon name="share-outline" fill="#60CBEB"></eva-icon>
138
             <eva-icon name="share-outline" fill="#60CBEB"></eva-icon>

+ 1
- 1
src/components/shared/contact.vue View File

23
           <div class="col-md-4">
23
           <div class="col-md-4">
24
             <h4>CONTACT DETAILS</h4>
24
             <h4>CONTACT DETAILS</h4>
25
             <p>
25
             <p>
26
-              <strong>Phone:</strong>+27 (0) 12 492 1238<br />
26
+              <strong>Phone:</strong>+27 (0)12 941 8497<br />
27
               <strong>Email: </strong
27
               <strong>Email: </strong
28
               ><a href="mailto:info@univateproperties.co.za"> info@univateproperties.co.za </a>
28
               ><a href="mailto:info@univateproperties.co.za"> info@univateproperties.co.za </a>
29
             </p>
29
             </p>

+ 1
- 1
src/components/shared/footerSection.vue View File

42
                   Shere, Pretoria, 0084<br /><br />
42
                   Shere, Pretoria, 0084<br /><br />
43
                   <a href="mailto:info@univateproperties.co.za">info@univateproperties.co.za</a
43
                   <a href="mailto:info@univateproperties.co.za">info@univateproperties.co.za</a
44
                   ><br />
44
                   ><br />
45
-                  <a href="tel:0124921238">+27 (0) 12 492 1238</a>
45
+                  <a href="tel:0124921238">+27 (0)12 941 8497</a>
46
                 </p>
46
                 </p>
47
                 <br />
47
                 <br />
48
                 <p>
48
                 <p>

+ 1
- 0
src/components/timeshare/buy/toBuySearchResults.vue View File

77
     Available() {
77
     Available() {
78
       let resortList = this.resorts;
78
       let resortList = this.resorts;
79
       resortList = _.filter(resortList, x => x.weeksAvailable > 0);
79
       resortList = _.filter(resortList, x => x.weeksAvailable > 0);
80
+      console.log(resortList);
80
       return resortList;
81
       return resortList;
81
     }
82
     }
82
   },
83
   },

+ 0
- 1
src/components/timeshare/sell/contentSection.vue View File

932
     submitSale() {
932
     submitSale() {
933
       if (this.userLoggedIn) {
933
       if (this.userLoggedIn) {
934
         this.sellItem.ownerObject = this.indiv;
934
         this.sellItem.ownerObject = this.indiv;
935
-        this.sellItem.status = undefined;
936
         this.sellItem.weekStatus = "For Sale";
935
         this.sellItem.weekStatus = "For Sale";
937
         this.saveWeek(this.sellItem).then(fulfilled => {
936
         this.saveWeek(this.sellItem).then(fulfilled => {
938
           this.paygateRedirect();
937
           this.paygateRedirect();

Loading…
Cancel
Save