PluginProbe ʕ •ᴥ•ʔ
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress / 5.2.1
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress v5.2.1
5.6.8 5.6.7 5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.2 5.5.1 5.5.0 5.4.2 trunk 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.91 5.1.92 5.1.93 5.1.94 5.2.0 5.2.1 5.2.10 5.2.11 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.0 5.3.1 5.3.2 5.4.0 5.4.1
latepoint / lib / views / invoices / new_form.php
latepoint / lib / views / invoices Last commit date
payment_form 1 year ago edit_data.php 1 year ago email_form.php 1 year ago new_form.php 1 year ago payment_form.php 1 year ago summary_before_payment.php 1 year ago view.php 1 year ago view_by_key.php 1 year ago
new_form.php
45 lines
1 <?php
2 /*
3 * Copyright (c) 2023 LatePoint LLC. All rights reserved.
4 */
5
6 /* @var $invoice OsInvoiceModel */
7 ?>
8 <div class="invoice-settings-wrapper" data-route="<?php echo esc_attr(OsRouterHelper::build_route_name('invoices', 'create')); ?>">
9 <?php echo OsFormHelper::hidden_field('invoice[order_id]', $invoice->order_id); ?>
10 <?php echo OsFormHelper::hidden_field('invoice[payment_portion]', $invoice->payment_portion); ?>
11 <div class="invoice-settings-heading">
12 <div><?php esc_html_e( 'Invoice Settings', 'latepoint' ); ?></div>
13 <a href="#" class="invoice-settings-close"><i class="latepoint-icon latepoint-icon-x"></i></a>
14 </div>
15 <div class="invoice-settings-body">
16 <div class="invoice-setting-column">
17 <?php
18 echo '<div class="label-for-select">' . esc_html__( 'Amount', 'latepoint' ) . '</div>';
19 echo '<div class="custom-charge-amount-wrapper">';
20 echo OsFormHelper::money_field( 'invoice[charge_amount]', false, 0, [ 'class' => 'size-small', 'theme' => 'simple' ] );
21 echo '</div>';
22 ?>
23 </div>
24 <div class="invoice-setting-column">
25 <?php
26 echo '<div class="label-for-select">' . esc_html__( 'Due On', 'latepoint' ) . '</div>';
27 echo OsFormHelper::date_picker_field( 'invoice[due_at]', OsTimeHelper::get_readable_date_from_string( OsTimeHelper::today_date( 'Y-m-d' ) ), OsTimeHelper::today_date( 'Y-m-d' ), [
28 'class' => 'size-small',
29 'theme' => 'simple'
30 ] );
31 ?>
32 </div>
33 <div class="invoice-setting-column">
34 <?php
35 echo '<div class="label-for-select">' . esc_html__( 'Status', 'latepoint' ) . '</div>';
36 echo '<div class="custom-charge-amount-wrapper">';
37 echo OsFormHelper::select_field( 'invoice[status]', false, OsInvoicesHelper::list_of_statuses_for_select(), LATEPOINT_INVOICE_STATUS_DRAFT, [ 'class' => 'size-small', 'theme' => 'simple' ] );
38 echo '</div>';
39 ?>
40 </div>
41 </div>
42 <div class="invoice-settings-buttons">
43 <a href="#" class="latepoint-btn latepoint-btn-sm latepoint-btn-primary create-invoice-button"><?php esc_html_e( 'Create Invoice', 'latepoint' ); ?></a>
44 </div>
45 </div>