geer-builder 1.2.767 → 1.2.768

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.
@@ -61,7 +61,7 @@
61
61
  <div class="label">
62
62
  <q-btn size="12px" class="full-width q-pa-sm text-primary" flat>
63
63
  <q-icon class="q-mr-sm" name="fas fa-money-check" size="16px"></q-icon>
64
- <div>Binary Breakdown</div>
64
+ <div>{{is_teslab ? 'Sales Force Breakdown' : 'Binary Breakdown'}}</div>
65
65
  </q-btn>
66
66
  </div>
67
67
  </div>
package/GSlotWallet.vue CHANGED
@@ -72,7 +72,7 @@
72
72
 
73
73
 
74
74
  </div>
75
- <div class="wallet-grid" :style="is_company_ultrapro? 'display:block': temp_wallet ? 'grid-template-columns: 1fr 1fr 1fr' : 'grid-template-columns:1fr 1fr' && current_slot_info.points.hasOwnProperty('gc')">
75
+ <div class="wallet-grid" :style="is_company_ultrapro? 'display:block': temp_wallet ? 'grid-template-columns: auto' : 'grid-template-columns:1fr 1fr' && current_slot_info.points.hasOwnProperty('gc')">
76
76
  <div class="section-holder">
77
77
  <div class="label" v-if="is_company_success">Central Wallet</div>
78
78
  <div class="label" v-if="is_company_ultrapro">Available Wallet Funds</div>
@@ -140,10 +140,11 @@
140
140
  </div>
141
141
 
142
142
  <div class="section-holder" v-if="show_binary_history == true" >
143
+
143
144
  <div class="button-holder" style="cursor:pointer;" @click="is_binary_history_dialog_open=true" >
144
145
  <q-btn size="12px" class="full-width q-pa-sm text-primary" flat>
145
146
  <q-icon class="q-mr-sm" name="fas fa-money-check" size="16px"></q-icon>
146
- <div>Binary Breakdown</div>
147
+ <div>{{is_teslab ? 'Sales Force Breakdown' : 'Binary Breakdown'}}</div>
147
148
  </q-btn>
148
149
  </div>
149
150
  </div>
@@ -236,7 +237,7 @@
236
237
  </q-dialog>
237
238
 
238
239
  <q-dialog v-model="is_wallet_binary_cd_logs">
239
- <wallet-logs-dialog :hide_search="true" :special_binary="true" />
240
+ <wallet-logs-dialog :is_teslab_wallet="is_teslab" :hide_search="true" :special_binary="true" />
240
241
  </q-dialog>
241
242
 
242
243
  <q-dialog v-model="is_up_coin_dialog_open" :maximized="true">
@@ -244,14 +245,14 @@
244
245
  </q-dialog>
245
246
 
246
247
  <q-dialog v-model="is_points_logs_dialog_open" :maximized="true">
247
- <points-logs-dialog/>
248
+ <points-logs-dialog :is_teslab_points="is_teslab" />
248
249
  </q-dialog>
249
250
 
250
251
  <q-dialog v-model="is_rc_logs_dialog_open" :maximized="true">
251
252
  <r-c-logs-dialog/>
252
253
  </q-dialog>
253
254
  <q-dialog v-model="is_binary_history_dialog_open" :maximized="true">
254
- <binary-history :binary_type="binary_type" :flushout_hide="true" :slot_info="current_slot_info"></binary-history>
255
+ <binary-history :is_teslab_binary="is_teslab" :binary_type="binary_type" :flushout_hide="true" :slot_info="current_slot_info"></binary-history>
255
256
  </q-dialog>
256
257
  </g-card>
257
258
  <div v-else>
@@ -285,6 +286,7 @@ export default
285
286
  props:{
286
287
  binary_type: String,
287
288
  vortex: Boolean,
289
+ is_teslab: Boolean,
288
290
  is_company_success: Boolean,
289
291
  is_company_qdy:Boolean,
290
292
  is_company_ultrapro:Boolean,
@@ -70,7 +70,7 @@
70
70
  <!-- TABLE -->
71
71
  <div class="col-12 text-right q-mb-md">
72
72
  <div class="q-mt-sm text-right">
73
- <q-table :pagination.sync="pagination" :filter="search" :loading="table_loading" separator="cell" bordered flat :data="!table_loading ? table_data : []" :columns="table_column" row-key="email">
73
+ <q-table :pagination.sync="pagination" :filter="search" :loading="table_loading" separator="cell" bordered flat :data="!table_loading ? table_data : []" :columns="is_teslab_wallet ? table_column_teslab : table_column" row-key="email">
74
74
  <template v-slot:body-cell-message="cellProperties">
75
75
  <q-td :props="cellProperties">
76
76
  <span v-html="cellProperties.value"></span>
@@ -95,7 +95,7 @@ export default
95
95
  {
96
96
  filters: { },
97
97
  components: { },
98
- props:['hide_search', 'mbot', 'special_binary'],
98
+ props:['hide_search', 'mbot', 'special_binary','is_teslab_wallet'],
99
99
  data:() =>(
100
100
  {
101
101
  is_wallet_convert_open:false,
@@ -149,6 +149,48 @@ export default
149
149
 
150
150
  },
151
151
  ],
152
+ table_column_teslab:
153
+ [
154
+ {
155
+ name : 'created_date',
156
+ label : 'Log Date',
157
+ field : row => formatDate(row.created_date, 'MM/DD/YY (hh:mm A)'),
158
+ align : 'left',
159
+ required: true,
160
+ format: val => `${val}`,
161
+ sortable: true,
162
+
163
+ },
164
+ {
165
+ name : 'type',
166
+ label : 'Type',
167
+ field : row => row.type.toUpperCase(),
168
+ align : 'left',
169
+ required: true,
170
+ format: val => `${val == "COMPANY_TOKEN_INCOME" ? "RESELLERS TOKEN INCOME" : (val == "COMPANY_TOKEN_TWO_INCOME" ? "INTRODUCERS SALES BONUS" : (val == 'VORTEX' ? 'CASH REWARD' : val) ) }`,
171
+ sortable: true,
172
+ },
173
+ {
174
+ name : 'message',
175
+ label : 'Message',
176
+ field : row => row.message ? row.message : row.temp_wallet_message,
177
+ align : 'left',
178
+ required: true,
179
+ format: val => `${val}`,
180
+ sortable: true,
181
+ },
182
+ {
183
+ name : 'amount',
184
+ label : 'Amount',
185
+ field : row => row.amount,
186
+ align : 'left',
187
+ required: true,
188
+ format : val => (val < 0 ? "-" : "")+formatNumber(val, { decimal: 2 }),
189
+ sortable: true,
190
+ align : "right",
191
+
192
+ },
193
+ ],
152
194
  temp_wallet_table_column:
153
195
  [
154
196
  {
@@ -54,7 +54,7 @@
54
54
  <!-- TABLE -->
55
55
  <div class="col-12 text-right q-mb-md">
56
56
  <div class="q-mt-sm text-right">
57
- <q-table :pagination.sync="pagination" :filter="search" :loading="table_loading" separator="cell" bordered flat :data="!table_loading ? table_data : []" :columns="table_column" row-key="email">
57
+ <q-table :pagination.sync="pagination" :filter="search" :loading="table_loading" separator="cell" bordered flat :data="!table_loading ? table_data : []" :columns="is_teslab_points ? table_column_teslab : table_column" row-key="email">
58
58
  <template v-slot:body-cell-message="cellProperties">
59
59
  <q-td :props="cellProperties">
60
60
  <span v-html="cellProperties.value"></span>
@@ -126,6 +126,48 @@ import {formatDate}from '../../utilities/DateUtils';
126
126
 
127
127
  },
128
128
  ],
129
+ table_column_teslab:
130
+ [
131
+ {
132
+ name : 'created_date',
133
+ label : 'Log Date',
134
+ field : row => formatDate(row.created_date, 'MM/DD/YY (hh:mm A)'),
135
+ align : 'left',
136
+ required: true,
137
+ format: val => `${val}`,
138
+ sortable: true,
139
+
140
+ },
141
+ {
142
+ name : 'type',
143
+ label : 'Type',
144
+ field : row => row.type.toUpperCase().replace("_", " "),
145
+ align : 'left',
146
+ required: true,
147
+ format: val => `${val == 'BINARY THREE_POINTS_RIGHT' ? 'SALES FORCE RIGHT' : (val == 'BINARY THREE_POINTS_LEFT' ? 'SALES FORCE LEFT' : (val == 'VORTEX TOKEN' ? 'CASH REWARD TOKEN' : val)) }`,
148
+ sortable: true,
149
+ },
150
+ {
151
+ name : 'message',
152
+ label : 'Message',
153
+ field : row => row.message,
154
+ align : 'left',
155
+ required: true,
156
+ format: val => `${val}`,
157
+ sortable: true,
158
+ },
159
+ {
160
+ name : 'amount',
161
+ label : 'Amount',
162
+ field : row => row.amount,
163
+ align : 'left',
164
+ required: true,
165
+ format : val => (val < 0 ? "-" : "")+formatNumber(val, { decimal: 2 }),
166
+ sortable: true,
167
+ align : "right",
168
+
169
+ },
170
+ ],
129
171
  filter_date:
130
172
  {
131
173
  from: null,
@@ -145,7 +187,7 @@ import {formatDate}from '../../utilities/DateUtils';
145
187
  },
146
188
  props:
147
189
  {
148
-
190
+ is_teslab_points: Boolean
149
191
  },
150
192
  mounted()
151
193
  {
@@ -171,7 +213,19 @@ import {formatDate}from '../../utilities/DateUtils';
171
213
  table_data = table_data.where('created_date', '<', date_to);
172
214
  }
173
215
 
216
+
174
217
  await this.$bind("table_data", table_data.orderBy('created_date', 'desc'));
218
+
219
+ if(this.is_teslab_points === true)
220
+ {
221
+ this.table_data.filter(td => td.type != "gpv_token");
222
+
223
+ this.table_data = this.table_data.filter(function( obj )
224
+ {
225
+ return obj.type !== 'stairstep_group_pv';
226
+ });
227
+ }
228
+
175
229
  this.table_loading = false;
176
230
  },
177
231
  },
@@ -3,6 +3,7 @@
3
3
  <q-bar class='bg-primary text-white q-pa-lg'>
4
4
  <q-icon class='q-mr-sm' name='fa fa-infinity'></q-icon>
5
5
  <b v-if="is_company_success">Sales Match History</b>
6
+ <b v-else-if="is_teslab_binary">Sales Force Breakdown</b>
6
7
  <b v-else>Binary History</b>
7
8
  <q-space />
8
9
  <q-btn dense flat icon='close' v-close-popup><q-tooltip content-class='bg-white text-primary'>Close</q-tooltip></q-btn>
@@ -79,7 +80,7 @@
79
80
  </template>
80
81
  </q-table>
81
82
  </div>
82
- <div class="q-mt-sm text-right" v-if="binary_type == 'three'">
83
+ <div class="q-mt-sm text-right" v-else-if="binary_type == 'three'">
83
84
  <q-table :pagination.sync="pagination" :filter="search" :loading="table_loading" separator="cell" bordered flat :data="!table_loading ? table_data2 : []" :columns="table_column2" row-key="email">
84
85
  <template v-slot:body-cell-message="cellProperties">
85
86
  <q-td :props="cellProperties">
@@ -495,7 +496,8 @@
495
496
  binary_type : String,
496
497
  flushout_hide : Boolean,
497
498
  slot_info : Object,
498
- is_company_success:Boolean
499
+ is_company_success:Boolean,
500
+ is_teslab_binary:Boolean
499
501
  },
500
502
  async mounted()
501
503
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geer-builder",
3
- "version": "1.2.767",
3
+ "version": "1.2.768",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {