click.blade.php
6 months ago
order.blade.php
6 months ago
origin.blade.php
6 months ago
submission.blade.php
6 months ago
view.blade.php
6 months ago
order.blade.php
31 lines
| 1 | @php |
| 2 | /** @var IAWP\Journey\Events\Order $event */ |
| 3 | @endphp |
| 4 | |
| 5 | <p> |
| 6 | <span class="timeline-contents-label"><?php esc_html_e('Revenue:', 'independent-analytics'); ?></span> |
| 7 | <?php echo esc_html($event->total()); ?> |
| 8 | <?php if ($event->total_refunded()) : ?> |
| 9 | <span>(<?php echo esc_html($event->total_refunded()); ?>)</span> |
| 10 | <?php endif; ?> |
| 11 | </p> |
| 12 | |
| 13 | <?php if($event->admin_url()): ?> |
| 14 | <p> |
| 15 | <span class="timeline-contents-label"><?php esc_html_e('Order ID:', 'independent-analytics') ?></span> |
| 16 | <a href="<?php echo esc_url($event->admin_url()); ?>" target="_blank"> |
| 17 | <?php echo '#' . esc_html($event->order_id()); ?><span class="dashicons dashicons-external"></span> |
| 18 | </a> |
| 19 | </p> |
| 20 | <?php else: ?> |
| 21 | <p> |
| 22 | <span class="timeline-contents-label"><?php esc_html_e('Order ID:', 'independent-analytics'); ?></span> |
| 23 | <?php echo '#' . esc_html($event->order_id()); ?> |
| 24 | </p> |
| 25 | <?php endif; ?> |
| 26 | |
| 27 | <p> |
| 28 | <span class="timeline-contents-label"><?php esc_html_e('Status:', 'independent-analytics'); ?></span> |
| 29 | <?php echo esc_html($event->status()); ?> |
| 30 | </p> |
| 31 |