diff --git a/application/views/invoice_templates/pdf/InvoicePlane - overdue.php b/application/views/invoice_templates/pdf/InvoicePlane - overdue.php index 0fd46daa9..4019c2769 100644 --- a/application/views/invoice_templates/pdf/InvoicePlane - overdue.php +++ b/application/views/invoice_templates/pdf/InvoicePlane - overdue.php @@ -1,263 +1,281 @@ - - - - - <?php _trans('invoice'); ?> - - - - -
+ + + + + + + <?php echo get_setting('custom_title', 'InvoicePlane', true); ?> - <?php _trans('invoice'); ?> <?php echo $invoice->invoice_number; ?> + + + + + + +
+
+ + + + + + + + + + + +
+
'; } ?> +
+

user_name); ?>

+ user_vat_id) { + echo lang('vat_id_short') . ': ' . $invoice->user_vat_id . '
'; + } ?> + user_tax_code) { + echo lang('tax_code_short') . ': ' . $invoice->user_tax_code . '
'; + } ?> + user_address_1) { + echo htmlsc($invoice->user_address_1) . '
'; + } ?> + user_address_2) { + echo htmlsc($invoice->user_address_2) . '
'; + } ?> + user_city) { + echo htmlsc($invoice->user_city) . ' '; + } ?> + user_state) { + echo htmlsc($invoice->user_state) . ' '; + } ?> + user_zip) { + echo htmlsc($invoice->user_zip) . '
'; + } ?> + user_phone) { ?> + user_phone); ?>
+ + user_mobile) { ?> + user_mobile); ?> + +
+ - + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
invoice_date_created, true); ?>
invoice_date_due, true); ?>
invoice_balance); ?>
payment_method_name); ?>
+
+ + + + + + + + + +

+

client_name); ?>

+
+ -
-
- -
- client_vat_id) { - echo '
' . trans('vat_id_short') . ': ' . $invoice->client_vat_id . '
'; - } - if ($invoice->client_tax_code) { - echo '
' . trans('tax_code_short') . ': ' . $invoice->client_tax_code . '
'; - } - if ($invoice->client_address_1) { - echo '
' . htmlsc($invoice->client_address_1) . '
'; - } - if ($invoice->client_address_2) { - echo '
' . htmlsc($invoice->client_address_2) . '
'; - } - if ($invoice->client_city || $invoice->client_state || $invoice->client_zip) { - echo '
'; - if ($invoice->client_city) { - echo htmlsc($invoice->client_city) . ' '; - } - if ($invoice->client_state) { - echo htmlsc($invoice->client_state) . ' '; - } - if ($invoice->client_zip) { - echo htmlsc($invoice->client_zip); - } - echo '
'; - } - if ($invoice->client_country) { - echo '
' . get_country_name(trans('cldr'), $invoice->client_country) . '
'; - } - - echo '
'; - - if ($invoice->client_phone) { - echo '
' . trans('phone_abbr') . ': ' . htmlsc($invoice->client_phone) . '
'; - } ?> +
+ + + + + + + + + +
+
+ + client_vat_id) { + echo lang('vat_id_short') . ': ' . $invoice->client_vat_id . '
'; + } ?> + client_tax_code) { + echo lang('tax_code_short') . ': ' . $invoice->client_tax_code . '
'; + } ?> + client_address_1) { + echo htmlsc($invoice->client_address_1) . '
'; + } ?> + client_address_2) { + echo htmlsc($invoice->client_address_2) . '
'; + } ?> + client_city) { + echo htmlsc($invoice->client_city) . ' '; + } ?> + client_state) { + echo htmlsc($invoice->client_state) . ' '; + } ?> + client_zip) { + echo htmlsc($invoice->client_zip) . '

'; + } ?> + +
+ +
+ -
-
-
user_name); ?>
- user_vat_id) { - echo '
' . trans('vat_id_short') . ': ' . $invoice->user_vat_id . '
'; - } - if ($invoice->user_tax_code) { - echo '
' . trans('tax_code_short') . ': ' . $invoice->user_tax_code . '
'; - } - if ($invoice->user_address_1) { - echo '
' . htmlsc($invoice->user_address_1) . '
'; - } - if ($invoice->user_address_2) { - echo '
' . htmlsc($invoice->user_address_2) . '
'; - } - if ($invoice->user_city || $invoice->user_state || $invoice->user_zip) { - echo '
'; - if ($invoice->user_city) { - echo htmlsc($invoice->user_city) . ' '; - } - if ($invoice->user_state) { - echo htmlsc($invoice->user_state) . ' '; - } - if ($invoice->user_zip) { - echo htmlsc($invoice->user_zip); - } - echo '
'; - } - if ($invoice->user_country) { - echo '
' . get_country_name(trans('cldr'), $invoice->user_country) . '
'; - } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - echo '
'; + invoice_item_tax_total > 0) { ?> + + + + + - if ($invoice->user_phone) { - echo '
' . trans('phone_abbr') . ': ' . htmlsc($invoice->user_phone) . '
'; - } - if ($invoice->user_fax) { - echo '
' . trans('fax_abbr') . ': ' . htmlsc($invoice->user_fax) . '
'; - } - ?> - + + + + + + - + invoice_discount_percent != '0.00') : ?> + + + + + + invoice_discount_amount != '0.00') : ?> + + + + + -
- -
-
item_description)); ?>item_name); ?> + item_quantity); ?> + item_product_unit) : ?> +
+ item_product_unit); ?> + +
+ item_price); ?> + + item_discount); ?> + + item_total); ?> +
class="text-right px-1 py-2 bt"> + + invoice_item_subtotal); ?>
class="text-right py-2 px-1 bt"> + + + invoice_item_tax_total); ?> +
class="text-right py-2 px-1 bt"> + invoice_tax_rate_name) . ' (' . format_amount($invoice_tax_rate->invoice_tax_rate_percent) . '%)'; ?> + + invoice_tax_rate_amount); ?> +
class="text-right py-2 px-1 bt"> + + + invoice_discount_percent); ?>% +
class="text-right py-2 px-1 bt"> + + + invoice_discount_amount); ?> +
- - - - - - - - - - - - - - - - - - -
invoice_date_created, true); ?>
invoice_date_due, true); ?>
invoice_balance); ?>
payment_method_name); ?>
-
+ + class="text-right py-2 px-1 bt"> + + + + invoice_total); ?> + + + + class="text-right py-2 px-1 bt"> + + + + invoice_paid); ?> + + + + class="text-right py-2 px-1 bt text-red"> + + + + invoice_balance); ?> + + + + + +
+
-

invoice_number; ?>

+ - - - - - - - - - +
+ invoice_terms) : ?> +
+
+ invoice_terms)); ?> +
-
- - - - - - - - - - - - - - - - - - - - - - - - - - invoice_item_tax_total > 0) { ?> - - - - - - - - - - - - - - invoice_discount_percent != '0.00') : ?> - - - - - - invoice_discount_amount != '0.00') : ?> - - - - - - - - - - - - - - - - - - - -
item_name); ?>item_description)); ?> - item_quantity); ?> - item_product_unit) : ?> -
- item_product_unit); ?> - -
- item_price); ?> - - item_discount); ?> - - item_total); ?> -
class="text-right"> - - invoice_item_subtotal); ?>
class="text-right"> - - - invoice_item_tax_total); ?> -
class="text-right"> - invoice_tax_rate_name) . ' (' . format_amount($invoice_tax_rate->invoice_tax_rate_percent) . '%)'; ?> - - invoice_tax_rate_amount); ?> -
class="text-right"> - - - invoice_discount_percent); ?>% -
class="text-right"> - - - invoice_discount_amount); ?> -
class="text-right"> - - - invoice_total); ?> -
class="text-right"> - - - invoice_paid); ?> -
class="text-right"> - - - invoice_balance); ?> -
- - - - - -
- invoice_terms) : ?> -
-
- invoice_terms)); ?> -
- -
- - - + + + \ No newline at end of file diff --git a/application/views/invoice_templates/pdf/InvoicePlane - paid.php b/application/views/invoice_templates/pdf/InvoicePlane - paid.php index 790fff55b..a8c71ab97 100644 --- a/application/views/invoice_templates/pdf/InvoicePlane - paid.php +++ b/application/views/invoice_templates/pdf/InvoicePlane - paid.php @@ -1,263 +1,261 @@ - - - - - <?php _trans('invoice'); ?> - - - - -
+ + + + + + + <?php echo get_setting('custom_title', 'InvoicePlane', true); ?> - <?php _trans('invoice'); ?> <?php echo $invoice->invoice_number; ?> + + + + + + +
+
+ + + + + + + + + + + +
+
'; } ?> +
+

user_name); ?>

+ user_vat_id) { + echo lang('vat_id_short') . ': ' . $invoice->user_vat_id . '
'; + } ?> + user_tax_code) { + echo lang('tax_code_short') . ': ' . $invoice->user_tax_code . '
'; + } ?> + user_address_1) { + echo htmlsc($invoice->user_address_1) . '
'; + } ?> + user_address_2) { + echo htmlsc($invoice->user_address_2) . '
'; + } ?> + user_city) { + echo htmlsc($invoice->user_city) . ' '; + } ?> + user_state) { + echo htmlsc($invoice->user_state) . ' '; + } ?> + user_zip) { + echo htmlsc($invoice->user_zip) . '
'; + } ?> + user_phone) { ?> + user_phone); ?>
+ + user_mobile) { ?> + user_mobile); ?> + +
+ - + + + + + + + + + + +
+ +
+ + + + + + + + + +

+

client_name); ?>

+
+ -
-
- -
- client_vat_id) { - echo '
' . trans('vat_id_short') . ': ' . $invoice->client_vat_id . '
'; - } - if ($invoice->client_tax_code) { - echo '
' . trans('tax_code_short') . ': ' . $invoice->client_tax_code . '
'; - } - if ($invoice->client_address_1) { - echo '
' . htmlsc($invoice->client_address_1) . '
'; - } - if ($invoice->client_address_2) { - echo '
' . htmlsc($invoice->client_address_2) . '
'; - } - if ($invoice->client_city || $invoice->client_state || $invoice->client_zip) { - echo '
'; - if ($invoice->client_city) { - echo htmlsc($invoice->client_city) . ' '; - } - if ($invoice->client_state) { - echo htmlsc($invoice->client_state) . ' '; - } - if ($invoice->client_zip) { - echo htmlsc($invoice->client_zip); - } - echo '
'; - } - if ($invoice->client_country) { - echo '
' . get_country_name(trans('cldr'), $invoice->client_country) . '
'; - } - - echo '
'; - - if ($invoice->client_phone) { - echo '
' . trans('phone_abbr') . ': ' . htmlsc($invoice->client_phone) . '
'; - } ?> +
+ + + + + + + + + +
+
+ + client_vat_id) { + echo lang('vat_id_short') . ': ' . $invoice->client_vat_id . '
'; + } ?> + client_tax_code) { + echo lang('tax_code_short') . ': ' . $invoice->client_tax_code . '
'; + } ?> + client_address_1) { + echo htmlsc($invoice->client_address_1) . '
'; + } ?> + client_address_2) { + echo htmlsc($invoice->client_address_2) . '
'; + } ?> + client_city) { + echo htmlsc($invoice->client_city) . ' '; + } ?> + client_state) { + echo htmlsc($invoice->client_state) . ' '; + } ?> + client_zip) { + echo htmlsc($invoice->client_zip) . '

'; + } ?> + +
+ +
+ -
-
-
user_name); ?>
- user_vat_id) { - echo '
' . trans('vat_id_short') . ': ' . $invoice->user_vat_id . '
'; - } - if ($invoice->user_tax_code) { - echo '
' . trans('tax_code_short') . ': ' . $invoice->user_tax_code . '
'; - } - if ($invoice->user_address_1) { - echo '
' . htmlsc($invoice->user_address_1) . '
'; - } - if ($invoice->user_address_2) { - echo '
' . htmlsc($invoice->user_address_2) . '
'; - } - if ($invoice->user_city || $invoice->user_state || $invoice->user_zip) { - echo '
'; - if ($invoice->user_city) { - echo htmlsc($invoice->user_city) . ' '; - } - if ($invoice->user_state) { - echo htmlsc($invoice->user_state) . ' '; - } - if ($invoice->user_zip) { - echo htmlsc($invoice->user_zip); - } - echo '
'; - } - if ($invoice->user_country) { - echo '
' . get_country_name(trans('cldr'), $invoice->user_country) . '
'; - } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - echo '
'; + invoice_item_tax_total > 0) { ?> + + + + + - if ($invoice->user_phone) { - echo '
' . trans('phone_abbr') . ': ' . htmlsc($invoice->user_phone) . '
'; - } - if ($invoice->user_fax) { - echo '
' . trans('fax_abbr') . ': ' . htmlsc($invoice->user_fax) . '
'; - } - ?> - + + + + + + - + invoice_discount_percent != '0.00') : ?> + + + + + + invoice_discount_amount != '0.00') : ?> + + + + + -
- -
-
item_description)); ?>item_name); ?> + item_quantity); ?> + item_product_unit) : ?> +
+ item_product_unit); ?> + +
+ item_price); ?> + + item_discount); ?> + + item_total); ?> +
class="text-right px-1 py-2 bt"> + + invoice_item_subtotal); ?>
class="text-right py-2 px-1 bt"> + + + invoice_item_tax_total); ?> +
class="text-right py-2 px-1 bt"> + invoice_tax_rate_name) . ' (' . format_amount($invoice_tax_rate->invoice_tax_rate_percent) . '%)'; ?> + + invoice_tax_rate_amount); ?> +
class="text-right py-2 px-1 bt"> + + + invoice_discount_percent); ?>% +
class="text-right py-2 px-1 bt"> + + + invoice_discount_amount); ?> +
- - - - - - - - - - - - - - - - - - -
invoice_date_created, true); ?>
invoice_date_due, true); ?>
invoice_balance); ?>
payment_method_name); ?>
-
+ + class="text-right py-2 px-1 bt"> + + + + invoice_total); ?> + + + + class="text-right py-2 px-1 bt"> + + + + invoice_paid); ?> + + + + class="text-right py-2 px-1 bt text-green"> + + + + invoice_balance); ?> + + + + + +
+
-

invoice_number; ?>

+ - - - - - - - - - +
+ invoice_terms) : ?> +
+
+ invoice_terms)); ?> +
-
- - - - - - - - - - - - - - - - - - - - - - - - - - invoice_item_tax_total > 0) { ?> - - - - - - - - - - - - - - invoice_discount_percent != '0.00') : ?> - - - - - - invoice_discount_amount != '0.00') : ?> - - - - - - - - - - - - - - - - - - - -
item_name); ?>item_description)); ?> - item_quantity); ?> - item_product_unit) : ?> -
- item_product_unit); ?> - -
- item_price); ?> - - item_discount); ?> - - item_total); ?> -
class="text-right"> - - invoice_item_subtotal); ?>
class="text-right"> - - - invoice_item_tax_total); ?> -
class="text-right"> - invoice_tax_rate_name) . ' (' . format_amount($invoice_tax_rate->invoice_tax_rate_percent) . '%)'; ?> - - invoice_tax_rate_amount); ?> -
class="text-right"> - - - invoice_discount_percent); ?>% -
class="text-right"> - - - invoice_discount_amount); ?> -
class="text-right"> - - - invoice_total); ?> -
class="text-right"> - - - invoice_paid); ?> -
class="text-right"> - - - invoice_balance); ?> -
- - - - - -
- invoice_terms) : ?> -
-
- invoice_terms)); ?> -
- -
- - - + + + \ No newline at end of file diff --git a/application/views/invoice_templates/pdf/InvoicePlane.php b/application/views/invoice_templates/pdf/InvoicePlane.php index 6949095f0..0463b09ed 100644 --- a/application/views/invoice_templates/pdf/InvoicePlane.php +++ b/application/views/invoice_templates/pdf/InvoicePlane.php @@ -1,261 +1,278 @@ - - - - - <?php _trans('invoice'); ?> - - - - -
+ + + + + + + <?php echo get_setting('custom_title', 'InvoicePlane', true); ?> - <?php _trans('invoice'); ?> <?php echo $invoice->invoice_number; ?> + + + + + + +
+
+ + + + + + + + + + + +
+
'; } ?> +
+

user_name); ?>

+ user_vat_id) { + echo lang('vat_id_short') . ': ' . $invoice->user_vat_id . '
'; + } ?> + user_tax_code) { + echo lang('tax_code_short') . ': ' . $invoice->user_tax_code . '
'; + } ?> + user_address_1) { + echo htmlsc($invoice->user_address_1) . '
'; + } ?> + user_address_2) { + echo htmlsc($invoice->user_address_2) . '
'; + } ?> + user_city) { + echo htmlsc($invoice->user_city) . ' '; + } ?> + user_state) { + echo htmlsc($invoice->user_state) . ' '; + } ?> + user_zip) { + echo htmlsc($invoice->user_zip) . '
'; + } ?> + user_phone) { ?> + user_phone); ?>
+ + user_mobile) { ?> + user_mobile); ?> + +
+ - + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
invoice_date_created, true); ?>
invoice_date_due, true); ?>
invoice_balance); ?>
payment_method_name); ?>
+
+ + + + + + + + + +

+

client_name); ?>

+
+ -
-
- -
- client_vat_id) { - echo '
' . trans('vat_id_short') . ': ' . $invoice->client_vat_id . '
'; - } - if ($invoice->client_tax_code) { - echo '
' . trans('tax_code_short') . ': ' . $invoice->client_tax_code . '
'; - } - if ($invoice->client_address_1) { - echo '
' . htmlsc($invoice->client_address_1) . '
'; - } - if ($invoice->client_address_2) { - echo '
' . htmlsc($invoice->client_address_2) . '
'; - } - if ($invoice->client_city || $invoice->client_state || $invoice->client_zip) { - echo '
'; - if ($invoice->client_city) { - echo htmlsc($invoice->client_city) . ' '; - } - if ($invoice->client_state) { - echo htmlsc($invoice->client_state) . ' '; - } - if ($invoice->client_zip) { - echo htmlsc($invoice->client_zip); - } - echo '
'; - } - if ($invoice->client_country) { - echo '
' . get_country_name(trans('cldr'), $invoice->client_country) . '
'; - } - - echo '
'; - - if ($invoice->client_phone) { - echo '
' . trans('phone_abbr') . ': ' . htmlsc($invoice->client_phone) . '
'; - } ?> - -
-
-
user_name); ?>
- user_vat_id) { - echo '
' . trans('vat_id_short') . ': ' . $invoice->user_vat_id . '
'; - } - if ($invoice->user_tax_code) { - echo '
' . trans('tax_code_short') . ': ' . $invoice->user_tax_code . '
'; - } - if ($invoice->user_address_1) { - echo '
' . htmlsc($invoice->user_address_1) . '
'; - } - if ($invoice->user_address_2) { - echo '
' . htmlsc($invoice->user_address_2) . '
'; - } - if ($invoice->user_city || $invoice->user_state || $invoice->user_zip) { - echo '
'; - if ($invoice->user_city) { - echo htmlsc($invoice->user_city) . ' '; - } - if ($invoice->user_state) { - echo htmlsc($invoice->user_state) . ' '; - } - if ($invoice->user_zip) { - echo htmlsc($invoice->user_zip); - } - echo '
'; - } - if ($invoice->user_country) { - echo '
' . get_country_name(trans('cldr'), $invoice->user_country) . '
'; - } - - echo '
'; +
+ + + + + + + + + +
+
+ + client_vat_id) { + echo lang('vat_id_short') . ': ' . $invoice->client_vat_id . '
'; + } ?> + client_tax_code) { + echo lang('tax_code_short') . ': ' . $invoice->client_tax_code . '
'; + } ?> + client_address_1) { + echo htmlsc($invoice->client_address_1) . '
'; + } ?> + client_address_2) { + echo htmlsc($invoice->client_address_2) . '
'; + } ?> + client_city) { + echo htmlsc($invoice->client_city) . ' '; + } ?> + client_state) { + echo htmlsc($invoice->client_state) . ' '; + } ?> + client_zip) { + echo htmlsc($invoice->client_zip) . '

'; + } ?> + +
+ +
+ - if ($invoice->user_phone) { - echo '
' . trans('phone_abbr') . ': ' . htmlsc($invoice->user_phone) . '
'; - } - if ($invoice->user_fax) { - echo '
' . trans('fax_abbr') . ': ' . htmlsc($invoice->user_fax) . '
'; - } - ?> -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + invoice_item_tax_total > 0) { ?> + + + + + -
- -
-
item_description)); ?>item_name); ?> + item_quantity); ?> + item_product_unit) : ?> +
+ item_product_unit); ?> + +
+ item_price); ?> + + item_discount); ?> + + item_total); ?> +
class="text-right px-1 py-2 bt"> + + invoice_item_subtotal); ?>
class="text-right py-2 px-1 bt"> + + + invoice_item_tax_total); ?> +
- - - - - - - - - - - - - - - - - - -
invoice_date_created, true); ?>
invoice_date_due, true); ?>
invoice_balance); ?>
payment_method_name); ?>
-
- -

invoice_number; ?>

- - - - - - - - - - - - - - - + + + + + + - - - - - - - - - - - - + invoice_discount_percent != '0.00') : ?> + + + + + + invoice_discount_amount != '0.00') : ?> + + + + + - - - - - - - - - invoice_item_tax_total > 0) { ?> - - - - - - - - - - - - - - invoice_discount_percent != '0.00') : ?> - - - - - - invoice_discount_amount != '0.00') : ?> - - - - - - - - - - - - - - - - - - - -
class="text-right py-2 px-1 bt"> + invoice_tax_rate_name) . ' (' . format_amount($invoice_tax_rate->invoice_tax_rate_percent) . '%)'; ?> + + invoice_tax_rate_amount); ?> +
item_name); ?>item_description)); ?> - item_quantity); ?> - item_product_unit) : ?> -
- item_product_unit); ?> - -
- item_price); ?> - - item_discount); ?> - - item_total); ?> -
class="text-right py-2 px-1 bt"> + + + invoice_discount_percent); ?>% +
class="text-right py-2 px-1 bt"> + + + invoice_discount_amount); ?> +
class="text-right"> - - invoice_item_subtotal); ?>
class="text-right"> - - - invoice_item_tax_total); ?> -
class="text-right"> - invoice_tax_rate_name) . ' (' . format_amount($invoice_tax_rate->invoice_tax_rate_percent) . '%)'; ?> - - invoice_tax_rate_amount); ?> -
class="text-right"> - - - invoice_discount_percent); ?>% -
class="text-right"> - - - invoice_discount_amount); ?> -
class="text-right"> - - - invoice_total); ?> -
class="text-right"> - - - invoice_paid); ?> -
class="text-right"> - - - invoice_balance); ?> -
- - - -
- invoice_terms) : ?> -
-
- invoice_terms)); ?> + + class="text-right py-2 px-1 bt"> + + + + invoice_total); ?> + + + + class="text-right py-2 px-1 bt"> + + + + invoice_paid); ?> + + + + class="text-right py-2 px-1 bt"> + + + + invoice_balance); ?> + + + + + +
- - - - - +
+ invoice_terms) : ?> +
+
+ invoice_terms)); ?> +
+ +
+ + \ No newline at end of file diff --git a/application/views/invoice_templates/public/InvoicePlane_Web.php b/application/views/invoice_templates/public/InvoicePlane_Web.php index 3ed09d0b8..243be5c20 100644 --- a/application/views/invoice_templates/public/InvoicePlane_Web.php +++ b/application/views/invoice_templates/public/InvoicePlane_Web.php @@ -1,65 +1,63 @@ - - + + - - - <?php echo get_setting('custom_title', 'InvoicePlane', true); ?> - - <?php echo trans('invoice'); ?> <?php echo $invoice->invoice_number; ?> - - - - - + <?php echo get_setting('custom_title', 'InvoicePlane', true); ?> - <?php echo trans('invoice'); ?> <?php echo $invoice->invoice_number; ?> + - - -
-
- -
- -

 invoice_number; ?>

- -
- sumex_id == NULL) : ?> - - - - - - - invoice_balance > 0) { ?> - - - - -
- -
- -
- - layout->load_view('layout/alerts'); ?> - -
- -
'; - } - ?> - -
-
- + + +
+
+ +
+
+
+

+ +

+
+ sumex_id == NULL) : ?> + + + + + invoice_balance > 0) { ?> + + + + +
+
+
+
+
+ + +
+ layout->load_view('layout/alerts'); ?> +
+ +
+ +
+ +
+
'; + } + ?> +
+ +
+ +
+ +

user_name); ?>

user_vat_id) { echo lang("vat_id_short") . ": " . $invoice->user_vat_id . '
'; @@ -86,74 +84,85 @@ class="btn btn-success">
user_fax) { ?>: user_fax); ?>

- +
-
-
- -

-

client_vat_id) { - echo lang("vat_id_short") . ": " . $invoice->client_vat_id . '
'; - } ?> - client_tax_code) { - echo lang("tax_code_short") . ": " . $invoice->client_tax_code . '
'; - } ?> - client_address_1) { - echo htmlsc($invoice->client_address_1) . '
'; - } ?> - client_address_2) { - echo htmlsc($invoice->client_address_2) . '
'; - } ?> - client_city) { - echo htmlsc($invoice->client_city) . ' '; - } ?> - client_state) { - echo htmlsc($invoice->client_state) . ' '; - } ?> - client_zip) { - echo htmlsc($invoice->client_zip) . '
'; - } ?> - client_phone) { - echo trans('phone_abbr') . ': ' . htmlsc($invoice->client_phone); ?> -
- -

- -
- - - - - - - - - - - - - - - - - - - - - - + + +
+
+
+
+ +
invoice_date_created); ?>
- invoice_date_due); ?> -
invoice_balance); ?>
payment_method_name); ?>
+ + + + + + + + + + + + + + + + + + + +
invoice_date_created); ?>
+ invoice_date_due); ?> +
invoice_balance); ?>
payment_method_name); ?>
- +
+
+ + +
+
+

+
+
+
+

client_name); ?>

+
+
+
+ +
+ +
+
+ + +

client_phone) { echo htmlsc($invoice->client_phone); ?>
+ + +
+ + client_vat_id) { echo lang('vat_id_short') . ': ' . $invoice->client_vat_id . '
'; } ?> + client_tax_code) { echo lang('tax_code_short') . ': ' . $invoice->client_tax_code . '
'; } ?> + client_address_1) { echo htmlsc($invoice->client_address_1) . '
'; } ?> + client_address_2) { echo htmlsc($invoice->client_address_2) . '
'; } ?> + client_city) { echo htmlsc($invoice->client_city) . ' '; } ?> + client_state) { echo htmlsc($invoice->client_state) . ' '; } ?> + client_zip) { echo htmlsc($invoice->client_zip) . '

'; ?> + + +
+
- -
- -
-
- + + + +
+
+
+
@@ -231,7 +240,7 @@ class="btn btn-success"> - +
invoice_paid) ?>
@@ -241,29 +250,16 @@ class="btn btn-success">
- - invoice_balance == 0) { - echo ''; - } ?> - '; - } ?> - -
- -
- +
+
- - invoice_terms) { ?> + notes) { ?>
-

-

invoice_terms)); ?>

+

+

notes)); ?>

- - 0) { ?> + 0) { ?>

@@ -272,9 +268,9 @@ class="btn btn-success"> - - + + + @@ -283,12 +279,9 @@ class="btn btn-primary btn-sm">
-
- -
-
-
- - + +
+ + diff --git a/application/views/quote_templates/pdf/InvoicePlane.php b/application/views/quote_templates/pdf/InvoicePlane.php index 496660e62..ae5d37599 100644 --- a/application/views/quote_templates/pdf/InvoicePlane.php +++ b/application/views/quote_templates/pdf/InvoicePlane.php @@ -1,238 +1,243 @@ - - - - - <?php _trans('quote'); ?> - - - - -
- - - -
-
- client_name); ?> + + + + + + + <?php echo get_setting('custom_title', 'InvoicePlane', true); ?> - <?php echo trans('quote'); ?> <?php echo $quote->quote_number; ?> + + + + + + +
+
+ + + + + + + + + + + +
+
'; } ?> +
+

user_name); ?>

+ user_vat_id) { + echo lang('vat_id_short') . ': ' . $quote->user_vat_id . '
'; + } ?> + user_tax_code) { + echo lang('tax_code_short') . ': ' . $quote->user_tax_code . '
'; + } ?> + user_address_1) { + echo htmlsc($quote->user_address_1) . '
'; + } ?> + user_address_2) { + echo htmlsc($quote->user_address_2) . '
'; + } ?> + user_city) { + echo htmlsc($quote->user_city) . ' '; + } ?> + user_state) { + echo htmlsc($quote->user_state) . ' '; + } ?> + user_zip) { + echo htmlsc($quote->user_zip) . '
'; + } ?> + user_phone) { ?> + user_phone); ?>
+ + user_mobile) { ?> + user_mobile); ?> + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + quote_number; ?> +
quote_date_created, true); ?>
quote_date_expires, true); ?>
quote_total); ?>
+
+ + + + + + + + + +

+

client_name); ?>

+
+ + +
+ + + + + + + + + +
+
+ + client_vat_id) { + echo lang('vat_id_short') . ': ' . $quote->client_vat_id . '
'; + } ?> + client_tax_code) { + echo lang('tax_code_short') . ': ' . $quote->client_tax_code . '
'; + } ?> + client_address_1) { + echo htmlsc($quote->client_address_1) . '
'; + } ?> + client_address_2) { + echo htmlsc($quote->client_address_2) . '
'; + } ?> + client_city) { + echo htmlsc($quote->client_city) . ' '; + } ?> + client_state) { + echo htmlsc($quote->client_state) . ' '; + } ?> + client_zip) { + echo htmlsc($quote->client_zip) . '

'; + } ?> + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + quote_item_tax_total > 0): ?> + + + + + + + + + + + + + + quote_discount_percent > 0 || $quote->quote_discount_amount > 0) : ?> + + + + + + + + + + + + +
item_name); ?>item_description)); ?> + item_quantity); ?> + item_product_unit): ?> +
+ item_product_unit); ?> + +
item_price); ?>item_discount); ?>item_total); ?>
:quote_item_subtotal); ?>
quote_item_tax_total); ?>
+ quote_tax_rate_name . ' ' . format_amount($quote_tax_rate->quote_tax_rate_percent); ?> % + quote_tax_rate_amount); ?>
: + quote_discount_percent > 0) { + echo format_amount($quote->quote_discount_percent) . ' %'; + } else { + echo format_amount($quote->quote_discount_amount); + } + ?> +
quote_total) ?>
+ +
- client_vat_id) { - echo '
' . trans('vat_id_short') . ': ' . $quote->client_vat_id . '
'; - } - if ($quote->client_tax_code) { - echo '
' . trans('tax_code_short') . ': ' . $quote->client_tax_code . '
'; - } - if ($quote->client_address_1) { - echo '
' . htmlsc($quote->client_address_1) . '
'; - } - if ($quote->client_address_2) { - echo '
' . htmlsc($quote->client_address_2) . '
'; - } - if ($quote->client_city || $quote->client_state || $quote->client_zip) { - echo '
'; - if ($quote->client_city) { - echo htmlsc($quote->client_city) . ' '; - } - if ($quote->client_state) { - echo htmlsc($quote->client_state) . ' '; - } - if ($quote->client_zip) { - echo htmlsc($quote->client_zip); - } - echo '
'; - } - if ($quote->client_country) { - echo '
' . get_country_name(trans('cldr'), $quote->client_country) . '
'; - } - - echo '
'; - - if ($quote->client_phone) { - echo '
' . trans('phone_abbr') . ': ' . htmlsc($quote->client_phone) . '
'; - } ?> - -
-
-
user_name); ?>
- user_vat_id) { - echo '
' . trans('vat_id_short') . ': ' . $quote->user_vat_id . '
'; - } - if ($quote->user_tax_code) { - echo '
' . trans('tax_code_short') . ': ' . $quote->user_tax_code . '
'; - } - if ($quote->user_address_1) { - echo '
' . htmlsc($quote->user_address_1) . '
'; - } - if ($quote->user_address_2) { - echo '
' . htmlsc($quote->user_address_2) . '
'; - } - if ($quote->user_city || $quote->user_state || $quote->user_zip) { - echo '
'; - if ($quote->user_city) { - echo htmlsc($quote->user_city) . ' '; - } - if ($quote->user_state) { - echo htmlsc($quote->user_state) . ' '; - } - if ($quote->user_zip) { - echo htmlsc($quote->user_zip); - } - echo '
'; - } - if ($quote->user_country) { - echo '
' . get_country_name(trans('cldr'), $quote->user_country) . '
'; - } - - echo '
'; - - if ($quote->user_phone) { - echo '
' . trans('phone_abbr') . ': ' . htmlsc($quote->user_phone) . '
'; - } - if ($quote->user_fax) { - echo '
' . trans('fax_abbr') . ': ' . htmlsc($quote->user_fax) . '
'; - } - ?> -
- -
- -
- -
- - - - - - - - - - - - - -
quote_date_created, true); ?>
quote_date_expires, true); ?>
quote_total); ?>
-
- -

quote_number; ?>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - quote_item_tax_total > 0) { ?> - - - - + notes) { ?> +
item_name); ?>item_description)); ?> - item_quantity); ?> - item_product_unit) : ?> -
- item_product_unit); ?> - -
- item_price); ?> - - item_discount); ?> - - item_total); ?> -
- class="text-right">quote_item_subtotal); ?>
class="text-right"> - - - quote_item_tax_total); ?> -
+ + + + + + + + + + +
+ notes, '


- - - - class="text-right"> - quote_tax_rate_name . ' (' . format_amount($quote_tax_rate->quote_tax_rate_percent) . '%)'; ?> - - - quote_tax_rate_amount); ?> - - - - - quote_discount_percent != '0.00') : ?> - - class="text-right"> - - - - quote_discount_percent); ?>% - - - - quote_discount_amount != '0.00') : ?> - - class="text-right"> - - - - quote_discount_amount); ?> - - - - - - class="text-right"> - - - - quote_total); ?> - - - - - -
- -
- notes) : ?> -
-
- notes)); ?> -
- -
- - + diff --git a/application/views/quote_templates/public/InvoicePlane_Web.php b/application/views/quote_templates/public/InvoicePlane_Web.php index ccf413cfd..4aaef2ea4 100644 --- a/application/views/quote_templates/public/InvoicePlane_Web.php +++ b/application/views/quote_templates/public/InvoicePlane_Web.php @@ -1,78 +1,75 @@ - - - + + - - - <?php echo get_setting('custom_title', 'InvoicePlane', true); ?> - - <?php echo trans('quote'); ?> <?php echo $quote->quote_number; ?> - - - - - + <?php echo get_setting('custom_title', 'InvoicePlane', true); ?> - <?php echo trans('quote'); ?> <?php echo $quote->quote_number; ?> + - - - -
- -
- -
- -

quote_number; ?>

- -
- quote_status_id, array(2, 3))) : ?> - - - - - - - - - - -
- -
- -
- - -
- -
- '; - } ?> - -
- -
'; - } - ?> - -
-
- -

user_name); ?>

-

user_vat_id) { - echo lang("vat_id_short") . ": " . $quote->user_vat_id . '
'; + + +

+
+ +
+
+
+

+ +

+
+ quote_status_id, array(2, 3))): ?> + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+ +
+ +
+ +
+ '; + } ?> +
+ + +
+ +
+
'; } ?> +
+ +
+ +
+ +
+

user_name); ?>

+ user_vat_id) { + echo lang('vat_id_short') . ': ' . $quote->user_vat_id . '
'; } ?> user_tax_code) { - echo lang("tax_code_short") . ": " . $quote->user_tax_code . '
'; + echo lang('tax_code_short') . ': ' . $quote->user_tax_code . '
'; } ?> user_address_1) { echo htmlsc($quote->user_address_1) . '
'; @@ -89,184 +86,219 @@ class="btn btn-primary"> user_zip) { echo htmlsc($quote->user_zip) . '
'; } ?> - user_phone) { ?>: user_phone); ?> -
- user_fax) { ?>: user_fax); ?> -

- -
-
-
- -

client_name); ?>

-

client_vat_id) { - echo lang("vat_id_short") . ": " . $quote->client_vat_id . '
'; - } ?> - client_tax_code) { - echo lang("tax_code_short") . ": " . $quote->client_tax_code . '
'; - } ?> - client_address_1) { - echo htmlsc($quote->client_address_1) . '
'; - } ?> - client_address_2) { - echo htmlsc($quote->client_address_2) . '
'; - } ?> - client_city) { - echo htmlsc($quote->client_city) . ' '; - } ?> - client_state) { - echo htmlsc($quote->client_state) . ' '; - } ?> - client_zip) { - echo htmlsc($quote->client_zip) . '
'; - } ?> - client_phone) { - echo trans('phone_abbr') . ': ' . htmlsc($quote->client_phone); ?> + user_phone) { ?> + user_phone); ?>
+ + user_mobile) { ?> + user_mobile); ?> + +

+
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + +
+ + + quote_number; ?> +
+ + + quote_date_created); ?> +
+ + + quote_date_expires); ?> +
+ + + quote_total); ?> +
+
+
+ + +
+
+

+
+
+
+

client_name); ?>

+
+
+ +
+ +
+
+
+ + client_vat_id) { echo lang('vat_id_short') . ': ' . $quote->client_vat_id . '
'; } ?> + client_tax_code) { echo lang('tax_code_short') . ': ' . $quote->client_tax_code . '
'; } ?> + client_address_1) { echo htmlsc($quote->client_address_1) . '
'; } ?> + client_address_2) { echo htmlsc($quote->client_address_2) . '
'; } ?> + client_city) { echo htmlsc($quote->client_city) . ' '; } ?> + client_state) { echo htmlsc($quote->client_state) . ' '; } ?> + client_zip) { echo htmlsc($quote->client_zip) . '

'; ?> -

- -
- - - - - - - - - - - - - - - - -
quote_date_created); ?>
- quote_date_expires); ?> -
quote_total); ?>
- + +
+
- -
- -
-
+
+ + +
+
+
- - - - - - - - + + + + + + + + - + - - - - - - - - - - - - quote_item_tax_total > 0) { ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
item_name); ?> item_description)); ?> item_quantity); ?> - item_product_unit) : ?> -
+ item_product_unit): ?> +
item_product_unit); ?> - -
item_price); ?>item_discount); ?>item_total); ?>
:quote_item_subtotal); ?>
quote_item_tax_total); ?>
- quote_tax_rate_name . ' ' . format_amount($quote_tax_rate->quote_tax_rate_percent); ?> - % - quote_tax_rate_amount); ?>
: - quote_discount_percent > 0) { - echo format_amount($quote->quote_discount_percent) . ' %'; - } else { - echo format_amount($quote->quote_discount_amount); - } - ?> -
quote_total) ?>
-
- -
- - notes) { ?> -
-

-

notes)); ?>

-
- - - 0) { ?> -
-

-
- - - - - + + + + + + + + + + + + quote_item_tax_total > 0) { ?> + + + + + + + + + + + + + + quote_discount_percent > 0 || $quote->quote_discount_amount > 0) : ?> + + + + - -
- - - + + item_price); ?>item_discount); ?>item_total); ?>
:quote_item_subtotal); ?>
quote_item_tax_total); ?>
+ quote_tax_rate_name . ' ' . format_amount($quote_tax_rate->quote_tax_rate_percent); ?> % + quote_tax_rate_amount); ?>
: + quote_discount_percent > 0) { + echo format_amount($quote->quote_discount_percent) . ' %'; + } else { + echo format_amount($quote->quote_discount_amount); + } + ?>
-
-
- - + + + + + quote_total) ?> + + +
- -
-
-
-
- - +
+ +
+ notes) { ?> +
+

+

notes)); ?>

+
+ + 0) { ?> +
+

+
+ + + + + + + +
+ + + + +
+
+
+ +
+ +
+ + notes) { ?> + + + + + + + + + + + +
+ notes, '


+ + diff --git a/assets/core/css/custom-pdf.css b/assets/core/css/custom-pdf.css index 835d907f9..593cbc7f1 100644 --- a/assets/core/css/custom-pdf.css +++ b/assets/core/css/custom-pdf.css @@ -3,4 +3,621 @@ Custom Stylesheet All changes made in this file will override the default styles in PDFs. - ========================================================================== */ \ No newline at end of file + ============================================================================*/ +.table-bordered { + border: 1px solid #a3a3a3 !important; +} + +table.item-table { + width: 100%; + border-collapse: collapse; + border-spacing: 0; + margin-bottom: 20px; + font-size: 12px; +} + +table.item-table tr:nth-child(2n-1) td { + background: #f5f5f5; +} + +table.item-table th { + padding: 10px 15px; + border-bottom: 1px solid #e0e0e0; + white-space: nowrap; + text-align: left; +} + +table.item-table th.text-right { + text-align: right; +} + +.table td { + vertical-align: middle !important; +} + +table { + border-collapse: collapse !important; +} + +.text-bold { + font-family: sans-serif !important; + font-weight: bold !important; +} + +.title { + font-weight: bold; + font-size: 14px; +} + +.sub-title { + font-weight: bold; + font-size: 12px; +} + +.bt { + border-top: 1px solid #a3a3a3 !important; +} + + +.bb { + border-bottom: 1px solid #a3a3a3 !important; +} + + +.table { + width: 100%; + max-width: 100%; + border-collapse: collapse; + border-spacing: 0; +} + +.w-0_5 { + width: 5%; +} + +.w-1 { + width: 10%; +} + +.w-1_5 { + width: 15%; +} + +.w-2 { + width: 20%; +} + +.w-3_5 { + width: 35%; +} + +.w-3 { + width: 30%; +} + +.w-4_5 { + width: 45%; +} + +.w-4 { + width: 40%; +} + +.w-5 { + width: 50%; +} + +.w-5_5 { + width: 55%; +} + +.w-6 { + width: 60%; +} + +.w-6_5 { + width: 65%; +} + +.w-7 { + width: 70%; +} + +.w-7_5 { + width: 75%; +} + +.w-8 { + width: 80%; +} + +.w-8_5 { + width: 85%; +} + +.w-9 { + width: 90%; +} + +.w-9_5 { + width: 95%; +} + +.w-10 { + width: 100%; +} + + +.m-0 { + margin: 0 !important; +} + +.m-1 { + margin: 0.25em !important; +} + +.m-1n { + margin: -0.25em !important; +} + +.m-2 { + margin: 0.5em !important; +} + +.m-2n { + margin: -0.5em !important; +} + +.m-3 { + margin: 1em !important; +} + +.m-3n { + margin: -1em !important; +} + +.m-4 { + margin: 1.5em !important; +} + +.m-4n { + margin: -1.5em !important; +} + +.m-5 { + margin: 3em !important; +} + +.m-5n { + margin: -3em !important; +} + +.m-auto { + margin: auto !important; +} + +.mx-0 { + margin-right: 0 !important; + margin-left: 0 !important; +} + +.mx-1 { + margin-right: 0.25em !important; + margin-left: 0.25em !important; +} + +.mx-2 { + margin-right: 0.5em !important; + margin-left: 0.5em !important; +} + +.mx-3 { + margin-right: 1em !important; + margin-left: 1em !important; +} + +.mx-4 { + margin-right: 1.5em !important; + margin-left: 1.5em !important; +} + +.mx-5 { + margin-right: 3em !important; + margin-left: 3em !important; +} + +.mx-auto { + margin-right: auto !important; + margin-left: auto !important; +} + +.my-0 { + margin-top: 0 !important; + margin-bottom: 0 !important; +} + +.my-1 { + margin-top: 0.25em !important; + margin-bottom: 0.25em !important; +} + +.my-2 { + margin-top: 0.5em !important; + margin-bottom: 0.5em !important; +} + +.my-3 { + margin-top: 1em !important; + margin-bottom: 1em !important; +} + +.my-4 { + margin-top: 1.5em !important; + margin-bottom: 1.5em !important; +} + +.my-5 { + margin-top: 3em !important; + margin-bottom: 3em !important; +} + +.my-auto { + margin-top: auto !important; + margin-bottom: auto !important; +} + +.mt-0 { + margin-top: 0 !important; +} + +.mt-1 { + margin-top: 0.25em !important; +} + +.mt-1n { + margin-top: -0.25em !important; +} + +.mt-2 { + margin-top: 0.5em !important; +} + +.mt-2n { + margin-top: -0.5em !important; +} + +.mt-3 { + margin-top: 1em !important; +} + +.mt-3n { + margin-top: -1em !important; +} + +.mt-4 { + margin-top: 1.5em !important; +} + +.mt-4n { + margin-top: -1.5em !important; +} + +.mt-5 { + margin-top: 3em !important; +} + +.mt-5n { + margin-top: -3em !important; +} + +.mt-auto { + margin-top: auto !important; +} + +.me-0 { + margin-right: 0 !important; +} + +.me-1 { + margin-right: 0.25em !important; +} + +.me-1n { + margin-right: -0.25em !important; +} + +.me-2 { + margin-right: 0.5em !important; +} + +.me-2n { + margin-right: -0.5em !important; +} + +.me-3 { + margin-right: 1em !important; +} + +.me-3n { + margin-right: -1em !important; +} + +.me-4 { + margin-right: 1.5em !important; +} + +.me-4n { + margin-right: -1.5em !important; +} + +.me-5 { + margin-right: 3em !important; +} + +.me-5n { + margin-right: -3em !important; +} + +.me-auto { + margin-right: auto !important; +} + +.mb-0 { + margin-bottom: 0 !important; +} + +.mb-1 { + margin-bottom: 0.25em !important; +} + +.mb-1n { + margin-bottom: -0.25em !important; +} + +.mb-2 { + margin-bottom: 0.5em !important; +} + +.mb-2n { + margin-bottom: -0.5em !important; +} + +.mb-3 { + margin-bottom: 1em !important; +} + +.mb-3n { + margin-bottom: -1em !important; +} + +.mb-4 { + margin-bottom: 1.5em !important; +} + +.mb-4n { + margin-bottom: -1.5em !important; +} + +.mb-5 { + margin-bottom: 3em !important; +} + +.mb-5n { + margin-bottom: -3em !important; +} + +.mb-auto { + margin-bottom: auto !important; +} + +.ms-0 { + margin-left: 0 !important; +} + +.ms-1 { + margin-left: 0.25em !important; +} + +.ms-2 { + margin-left: 0.5em !important; +} + +.ms-3 { + margin-left: 1em !important; +} + +.ms-4 { + margin-left: 1.5em !important; +} + +.ms-5 { + margin-left: 3em !important; +} + +.ms-auto { + margin-left: auto !important; +} + +.p-0 { + padding: 0 !important; +} + +.p-1 { + padding: 0.25em !important; +} + +.p-2 { + padding: 0.5em !important; +} + +.p-3 { + padding: 1em !important; +} + +.p-4 { + padding: 1.5em !important; +} + +.p-5 { + padding: 3em !important; +} + +.px-0 { + padding-right: 0 !important; + padding-left: 0 !important; +} + +.px-1 { + padding-right: 0.25em !important; + padding-left: 0.25em !important; +} + +.px-2 { + padding-right: 0.5em !important; + padding-left: 0.5em !important; +} + +.px-3 { + padding-right: 1em !important; + padding-left: 1em !important; +} + +.px-4 { + padding-right: 1.5em !important; + padding-left: 1.5em !important; +} + +.px-5 { + padding-right: 3em !important; + padding-left: 3em !important; +} + +.py-0 { + padding-top: 0 !important; + padding-bottom: 0 !important; +} + +.py-1 { + padding-top: 0.25em !important; + padding-bottom: 0.25em !important; +} + +.py-2 { + padding-top: 0.5em !important; + padding-bottom: 0.5em !important; +} + +.py-3 { + padding-top: 1em !important; + padding-bottom: 1em !important; +} + +.py-4 { + padding-top: 1.5em !important; + padding-bottom: 1.5em !important; +} + +.py-5 { + padding-top: 3em !important; + padding-bottom: 3em !important; +} + +.pt-0 { + padding-top: 0 !important; +} + +.pt-1 { + padding-top: 0.25em !important; +} + +.pt-2 { + padding-top: 0.5em !important; +} + +.pt-3 { + padding-top: 1em !important; +} + +.pt-4 { + padding-top: 1.5em !important; +} + +.pt-4-5 { + padding-top: 2.5em !important; +} + +.pt-5 { + padding-top: 3em !important; +} + +.pe-0 { + padding-right: 0 !important; +} + +.pe-1 { + padding-right: 0.25em !important; +} + +.pe-2 { + padding-right: 0.5em !important; +} + +.pe-3 { + padding-right: 1em !important; +} + +.pe-4 { + padding-right: 1.5em !important; +} + +.pe-5 { + padding-right: 3em !important; +} + +.pb-0 { + padding-bottom: 0 !important; +} + +.pb-1 { + padding-bottom: 0.25em !important; +} + +.pb-2 { + padding-bottom: 0.5em !important; +} + +.pb-3 { + padding-bottom: 1em !important; +} + +.pb-4 { + padding-bottom: 1.5em !important; +} + +.pb-5 { + padding-bottom: 3em !important; +} + +.ps-0 { + padding-left: 0 !important; +} + +.ps-1 { + padding-left: 0.25em !important; +} + +.ps-2 { + padding-left: 0.5em !important; +} + +.ps-3 { + padding-left: 1em !important; +} + +.ps-4 { + padding-left: 1.5em !important; +} + +.ps-5 { + padding-left: 3em !important; +} \ No newline at end of file diff --git a/assets/core/css/custom.css b/assets/core/css/custom.css index 6757b85cd..ba986dbad 100644 --- a/assets/core/css/custom.css +++ b/assets/core/css/custom.css @@ -1,6 +1,578 @@ /* ============================================================================= - InvoicePlane - Custom Stylesheet - + InvoicePlane Custom Stylesheet All changes made in this file will override the default styles. - ========================================================================== */ \ No newline at end of file + ============================================================================*/ +.text-bold { + font-family: sans-serif !important; + font-weight: bold !important; +} + +.title { + font-weight: bold; + font-size: 14px; +} + +.sub-title { + font-weight: bold; + font-size: 12px; +} + +.bt { + border-top: 1px solid #a3a3a3 !important; +} + + +.bb { + border-bottom: 1px solid #a3a3a3 !important; +} + +.w-0_5 { + width: 5% !important; +} + +.w-1 { + width: 10% !important; +} + +.w-1_5 { + width: 15% !important; +} + +.w-2 { + width: 20% !important; +} + +.w-3_5 { + width: 35% !important; +} + +.w-3 { + width: 30% !important; +} + +.w-4_5 { + width: 45% !important; +} + +.w-4 { + width: 40% !important; +} + +.w-5 { + width: 50% !important; +} + +.w-5_5 { + width: 55% !important; +} + +.w-6 { + width: 60% !important; +} + +.w-6_5 { + width: 65% !important; +} + +.w-7 { + width: 70% !important; +} + +.w-7_5 { + width: 75% !important; +} + +.w-8 { + width: 80% !important; +} + +.w-8_5 { + width: 85% !important; +} + +.w-9 { + width: 90% !important; +} + +.w-9_5 { + width: 95% !important; +} + +.w-10 { + width: 100% !important; +} + + +.m-0 { + margin: 0 !important; +} + +.m-1 { + margin: 0.25em !important; +} + +.m-1n { + margin: -0.25em !important; +} + +.m-2 { + margin: 0.5em !important; +} + +.m-2n { + margin: -0.5em !important; +} + +.m-3 { + margin: 1em !important; +} + +.m-3n { + margin: -1em !important; +} + +.m-4 { + margin: 1.5em !important; +} + +.m-4n { + margin: -1.5em !important; +} + +.m-5 { + margin: 3em !important; +} + +.m-5n { + margin: -3em !important; +} + +.m-auto { + margin: auto !important; +} + +.mx-0 { + margin-right: 0 !important; + margin-left: 0 !important; +} + +.mx-1 { + margin-right: 0.25em !important; + margin-left: 0.25em !important; +} + +.mx-2 { + margin-right: 0.5em !important; + margin-left: 0.5em !important; +} + +.mx-3 { + margin-right: 1em !important; + margin-left: 1em !important; +} + +.mx-4 { + margin-right: 1.5em !important; + margin-left: 1.5em !important; +} + +.mx-5 { + margin-right: 3em !important; + margin-left: 3em !important; +} + +.mx-auto { + margin-right: auto !important; + margin-left: auto !important; +} + +.my-0 { + margin-top: 0 !important; + margin-bottom: 0 !important; +} + +.my-1 { + margin-top: 0.25em !important; + margin-bottom: 0.25em !important; +} + +.my-2 { + margin-top: 0.5em !important; + margin-bottom: 0.5em !important; +} + +.my-3 { + margin-top: 1em !important; + margin-bottom: 1em !important; +} + +.my-4 { + margin-top: 1.5em !important; + margin-bottom: 1.5em !important; +} + +.my-5 { + margin-top: 3em !important; + margin-bottom: 3em !important; +} + +.my-auto { + margin-top: auto !important; + margin-bottom: auto !important; +} + +.mt-0 { + margin-top: 0 !important; +} + +.mt-1 { + margin-top: 0.25em !important; +} + +.mt-1n { + margin-top: -0.25em !important; +} + +.mt-2 { + margin-top: 0.5em !important; +} + +.mt-2n { + margin-top: -0.5em !important; +} + +.mt-3 { + margin-top: 1em !important; +} + +.mt-3n { + margin-top: -1em !important; +} + +.mt-4 { + margin-top: 1.5em !important; +} + +.mt-4n { + margin-top: -1.5em !important; +} + +.mt-5 { + margin-top: 3em !important; +} + +.mt-5n { + margin-top: -3em !important; +} + +.mt-auto { + margin-top: auto !important; +} + +.me-0 { + margin-right: 0 !important; +} + +.me-1 { + margin-right: 0.25em !important; +} + +.me-1n { + margin-right: -0.25em !important; +} + +.me-2 { + margin-right: 0.5em !important; +} + +.me-2n { + margin-right: -0.5em !important; +} + +.me-3 { + margin-right: 1em !important; +} + +.me-3n { + margin-right: -1em !important; +} + +.me-4 { + margin-right: 1.5em !important; +} + +.me-4n { + margin-right: -1.5em !important; +} + +.me-5 { + margin-right: 3em !important; +} + +.me-5n { + margin-right: -3em !important; +} + +.me-auto { + margin-right: auto !important; +} + +.mb-0 { + margin-bottom: 0 !important; +} + +.mb-1 { + margin-bottom: 0.25em !important; +} + +.mb-1n { + margin-bottom: -0.25em !important; +} + +.mb-2 { + margin-bottom: 0.5em !important; +} + +.mb-2n { + margin-bottom: -0.5em !important; +} + +.mb-3 { + margin-bottom: 1em !important; +} + +.mb-3n { + margin-bottom: -1em !important; +} + +.mb-4 { + margin-bottom: 1.5em !important; +} + +.mb-4n { + margin-bottom: -1.5em !important; +} + +.mb-5 { + margin-bottom: 3em !important; +} + +.mb-5n { + margin-bottom: -3em !important; +} + +.mb-auto { + margin-bottom: auto !important; +} + +.ms-0 { + margin-left: 0 !important; +} + +.ms-1 { + margin-left: 0.25em !important; +} + +.ms-2 { + margin-left: 0.5em !important; +} + +.ms-3 { + margin-left: 1em !important; +} + +.ms-4 { + margin-left: 1.5em !important; +} + +.ms-5 { + margin-left: 3em !important; +} + +.ms-auto { + margin-left: auto !important; +} + +.p-0 { + padding: 0 !important; +} + +.p-1 { + padding: 0.25em !important; +} + +.p-2 { + padding: 0.5em !important; +} + +.p-3 { + padding: 1em !important; +} + +.p-4 { + padding: 1.5em !important; +} + +.p-5 { + padding: 3em !important; +} + +.px-0 { + padding-right: 0 !important; + padding-left: 0 !important; +} + +.px-1 { + padding-right: 0.25em !important; + padding-left: 0.25em !important; +} + +.px-2 { + padding-right: 0.5em !important; + padding-left: 0.5em !important; +} + +.px-3 { + padding-right: 1em !important; + padding-left: 1em !important; +} + +.px-4 { + padding-right: 1.5em !important; + padding-left: 1.5em !important; +} + +.px-5 { + padding-right: 3em !important; + padding-left: 3em !important; +} + +.py-0 { + padding-top: 0 !important; + padding-bottom: 0 !important; +} + +.py-1 { + padding-top: 0.25em !important; + padding-bottom: 0.25em !important; +} + +.py-2 { + padding-top: 0.5em !important; + padding-bottom: 0.5em !important; +} + +.py-3 { + padding-top: 1em !important; + padding-bottom: 1em !important; +} + +.py-4 { + padding-top: 1.5em !important; + padding-bottom: 1.5em !important; +} + +.py-5 { + padding-top: 3em !important; + padding-bottom: 3em !important; +} + +.pt-0 { + padding-top: 0 !important; +} + +.pt-1 { + padding-top: 0.25em !important; +} + +.pt-2 { + padding-top: 0.5em !important; +} + +.pt-3 { + padding-top: 1em !important; +} + +.pt-4 { + padding-top: 1.5em !important; +} + +.pt-4-5 { + padding-top: 2.5em !important; +} + +.pt-5 { + padding-top: 3em !important; +} + +.pe-0 { + padding-right: 0 !important; +} + +.pe-1 { + padding-right: 0.25em !important; +} + +.pe-2 { + padding-right: 0.5em !important; +} + +.pe-3 { + padding-right: 1em !important; +} + +.pe-4 { + padding-right: 1.5em !important; +} + +.pe-5 { + padding-right: 3em !important; +} + +.pb-0 { + padding-bottom: 0 !important; +} + +.pb-1 { + padding-bottom: 0.25em !important; +} + +.pb-2 { + padding-bottom: 0.5em !important; +} + +.pb-3 { + padding-bottom: 1em !important; +} + +.pb-4 { + padding-bottom: 1.5em !important; +} + +.pb-5 { + padding-bottom: 3em !important; +} + +.ps-0 { + padding-left: 0 !important; +} + +.ps-1 { + padding-left: 0.25em !important; +} + +.ps-2 { + padding-left: 0.5em !important; +} + +.ps-3 { + padding-left: 1em !important; +} + +.ps-4 { + padding-left: 1.5em !important; +} + +.ps-5 { + padding-left: 3em !important; +} \ No newline at end of file