geer-builder 1.2.755 → 1.2.756

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,7 @@
17
17
  <li>We will send a confirmation email to you once processed. If you do not receive one within 48 hours, you may call or contact us directly using this e-mail address.</li>
18
18
  </ol>
19
19
  <div class="headers">GENERAL RULES</div>
20
- <div class="rules">Pay the exact mount indicated above. Excess porton of your payment is forfeited. Payment less than the amount due will not be processed.
20
+ <div class="rules">Pay the exact mount indicated above. Excess portion of your payment is forfeited. Payment less than the amount due will not be processed.
21
21
 
22
22
  If you are paying multiple ORDERS Reference Numbers, pay separately for each reference number. Do not lump them into a single transaction.
23
23
 
package/GNoSlot.vue CHANGED
@@ -3,11 +3,20 @@
3
3
  <!-- NO SLOT -->
4
4
  <div>
5
5
  <g-card class="q-pa-lg" v-if="!is_enable_refresh && !is_no_code">
6
- <div class="q-mb-md message">We have detected that you don't have a <b>slot</b> yet.</div>
6
+ <div class="q-mb-md message">We have detected that you have a <b>slot</b> ready for activation kindly click "VERIFY".</div>
7
7
  <div>
8
8
  <q-btn @click="is_open_add_slot_dialog = true" color="primary" unelevated>
9
9
  <q-icon name="fa fa-plus" size="12px" class="q-mr-sm"></q-icon>
10
- Add Slot
10
+ VERIFY NOW
11
+ </q-btn>
12
+ </div>
13
+ </g-card>
14
+ <g-card class="q-pa-lg" v-if="is_enable_refresh || is_no_code">
15
+ <div class="q-mb-md message">We have detected that you don't have a <b>slot</b> yet.</div>
16
+ <div>
17
+ <q-btn @click="$emit('refreshPage')" color="primary" unelevated>
18
+ <q-icon name="fa fa-plus" size="12px" class="q-mr-sm"></q-icon>
19
+ Refresh Page
11
20
  </q-btn>
12
21
  </div>
13
22
  </g-card>
@@ -81,7 +90,7 @@ export default
81
90
  mixins: [GlobalMixins],
82
91
  data: () =>
83
92
  ({
84
- is_no_code: false,
93
+ is_no_code: true,
85
94
  is_open_add_slot_dialog: false,
86
95
  db_code: new DB_CODE(),
87
96
  code_list: [],
@@ -115,7 +124,27 @@ export default
115
124
  {
116
125
  await this.$bind('code_list', this.db_code.collection().where('recipient', '==', this.user_info.uid));
117
126
 
118
- if(this.code_list.length == 0 || !this.code_list.length)
127
+ this.code_list.forEach((code) =>
128
+ {
129
+ if(code.used)
130
+ {
131
+
132
+ }
133
+ else if(code.hasOwnProperty("membership") && code.membership.membership_id == 'merchant')
134
+ {
135
+ this.code = code;
136
+ }
137
+ else
138
+ {
139
+ this.code = code;
140
+ }
141
+ });
142
+
143
+ if(this.code)
144
+ {
145
+ this.is_no_code = false;
146
+ }
147
+ else
119
148
  {
120
149
  this.is_no_code = true;
121
150
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geer-builder",
3
- "version": "1.2.755",
3
+ "version": "1.2.756",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {