PluginProbe ʕ •ᴥ•ʔ
VikAppointments Services Booking Calendar / 1.2.21
VikAppointments Services Booking Calendar v1.2.21
1.2.21 1.2.20 trunk 1.2.17 1.2.18 1.2.19
vikappointments / admin / views / printorders / tmpl / default.php
vikappointments / admin / views / printorders / tmpl Last commit date
default.php 2 days ago default_order.php 2 days ago index.html 2 days ago
default.php
40 lines
1 <?php
2 /**
3 * @package VikAppointments
4 * @subpackage core
5 * @author E4J s.r.l.
6 * @copyright Copyright (C) 2021 E4J s.r.l. All Rights Reserved.
7 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
8 * @link https://vikwp.com
9 */
10
11 // No direct access
12 defined('ABSPATH') or die('No script kiddies please!');
13
14 ?>
15
16 <div class="vap-printer-layout">
17
18 <div class="vap-print-orders-container">
19 <?php
20 foreach ($this->rows as $r)
21 {
22 // save order as class property for being used in sub-layout
23 $this->orderDetails = $r;
24
25 // display order details
26 echo $this->loadTemplate('order');
27 }
28 ?>
29 </div>
30
31 </div>
32
33 <script>
34
35 jQuery(function($) {
36 window.print();
37 });
38
39 </script>
40