| 1 |
<div class="wpuf-contact-form-transactions"> |
| 2 |
<h1 class="wp-heading-inline"> |
| 3 |
<?php _e( 'Transactions', 'weforms' ); ?> |
| 4 |
<span class="dashicons dashicons-arrow-right-alt2" style="margin-top: 5px;"></span> |
| 5 |
<span style="color: #999;" class="form-name"> |
| 6 |
{{ form_title }} |
| 7 |
</span> |
| 8 |
|
| 9 |
<select v-if="Object.keys(forms).length " v-model="selected"> |
| 10 |
<option :value="form.id" v-for="form in forms">{{ form.name }}</option> |
| 11 |
</select> |
| 12 |
</h1> |
| 13 |
|
| 14 |
<p v-if="no_transactions"> |
| 15 |
<?php printf( |
| 16 |
__( 'You don\'t have any transactions yet. Learn how to %sset up payment integration%s and take payments with weFroms.' ), |
| 17 |
'<a target="_blank" href="https://wedevs.com/docs/weforms/integrations/payment/">', |
| 18 |
'</a>' |
| 19 |
); |
| 20 |
?> |
| 21 |
</p> |
| 22 |
|
| 23 |
<wpuf-table v-if="selected" |
| 24 |
has_export="no" |
| 25 |
action="weforms_form_payments" |
| 26 |
delete="weforms_form_payments_trash_bulk" |
| 27 |
:id="selected" |
| 28 |
v-on:ajaxsuccess="form_title = $event.form_title; $route.params.id = selected" |
| 29 |
> |
| 30 |
</wpuf-table> |
| 31 |
|
| 32 |
</div> |
| 33 |
|