@@ -38,6 +38,7 @@ <h5 class="text-subtitle1 q-my-none">Withdraw links</h5>
3838 >
3939 < template v-slot:header ="props ">
4040 < q-tr :props ="props ">
41+ < q-th auto-width > </ q-th >
4142 < q-th auto-width > </ q-th >
4243 < q-th auto-width > </ q-th >
4344 < q-th
@@ -51,6 +52,19 @@ <h5 class="text-subtitle1 q-my-none">Withdraw links</h5>
5152 </ template >
5253 < template v-slot:body ="props ">
5354 < q-tr :props ="props ">
55+ < q-td auto-width >
56+ < q-icon
57+ name ="power_settings_new "
58+ :color ="props.row.enabled ? 'green' : 'red' "
59+ size ="xs "
60+ >
61+ < q-tooltip >
62+ < span
63+ v-text ="props.row.enabled ? 'Withdraw link is enabled' : 'Withdraw link is disabled' "
64+ > </ span >
65+ </ q-tooltip >
66+ </ q-icon >
67+ </ q-td >
5468 < q-td auto-width >
5569 < q-btn
5670 unelevated
@@ -238,6 +252,20 @@ <h6 class="text-subtitle1 q-my-none">
238252 hint ="Custom data as JSON string, will get posted along with webhook 'body' field. "
239253 > </ q-input >
240254 < q-list >
255+ < q-item tag ="label " class ="rounded-borders ">
256+ < q-item-section avatar >
257+ < q-checkbox
258+ v-model ="formDialog.data.enabled "
259+ color ="primary "
260+ > </ q-checkbox >
261+ </ q-item-section >
262+ < q-item-section >
263+ < q-item-label > Enable / Disable </ q-item-label >
264+ < q-item-label caption
265+ > You can enable or disable these vouchers</ q-item-label
266+ >
267+ </ q-item-section >
268+ </ q-item >
241269 < q-item tag ="label " class ="rounded-borders ">
242270 < q-item-section avatar >
243271 < q-checkbox
@@ -350,6 +378,20 @@ <h6 class="text-subtitle1 q-my-none">
350378 label ="Number of vouchers "
351379 > </ q-input >
352380 < q-list >
381+ < q-item tag ="label " class ="rounded-borders ">
382+ < q-item-section avatar >
383+ < q-checkbox
384+ v-model ="simpleformDialog.data.enabled "
385+ color ="primary "
386+ > </ q-checkbox >
387+ </ q-item-section >
388+ < q-item-section >
389+ < q-item-label > Enable / Disable </ q-item-label >
390+ < q-item-label caption
391+ > You can enable or disable these vouchers</ q-item-label
392+ >
393+ </ q-item-section >
394+ </ q-item >
353395 < q-item tag ="label " class ="rounded-borders ">
354396 < q-item-section avatar >
355397 < q-checkbox
0 commit comments