开发者 |
algoritmika
anbinder wpcodefactory omardabbas kousikmukherjeeli karzin |
---|---|
更新时间 | 2024年10月28日 20:16 |
PHP版本: | 4.4 及以上 |
WordPress版本: | 6.6 |
版权: | GNU General Public License v3.0 |
版权网址: | 版权信息 |
/wp-content/plugins/
directory.no
).[order_shipping_total_incl_tax]
shortcode added.[order_shipping_total_excl_tax]
shortcode alias (for the [order_shipping_total]
) added.[order_billing_last_name]
shortcode added.woo commerce
tag removed.[order_checkout_payment_url]
shortcode added.[each_item]
- alg_wc_pdf_invoicing_shortcode_each_item_items
, alg_wc_pdf_invoicing_shortcode_each_item_before_item
, alg_wc_pdf_invoicing_shortcode_each_item_after_item
filters added.yes
). It uses the K_TCPDF_EXTERNAL_CONFIG
constant to load a custom tcpdf_config.php
file.yes
). Sets the K_TCPDF_CALLS_IN_HTML
constant.yes
). Sets the K_PATH_IMAGES
constant.alg_wc_pdf_invoicing_create_docs
filter added.[prop]
- subtract
and divide
attributes added.TCPDF
and \setasign\Fpdi\TcpdfFpdi
) exist before including the libraries.[each_item]
- Now checking if it's a valid $order
.alg_wc_pdf_invoicing_doc_created
and alg_wc_pdf_invoicing_doc_removed
actions added.[page_break]
shortcode added.[each_item]
- product_id
attribute added.[each_item]
, [each_refund]
- before
and after
attributes added.<tcpdf>
tag, e.g., <tcpdf method="AddPage" />
(K_TCPDF_CALLS_IN_HTML
constant set to true
).refunded
orders as well now.[each_refund]
shortcode added.[prop]
:refund_nr
option added.refund_total
option added.refund_reason
option added.order_total_refunded
option added.order_total_tax_refunded
option added.order_total_shipping_refunded
option added.order_status
option added.order_total_items_qty
option added.order_total_excl_tax_excl_shipping
option added.item_product_image
option added.format
- price
- Taking into account current order currency now.doc_formatted_date
- add_days
attribute added.item_product_meta
- use_parent
attribute added.get_pdf()
: Checking if K_PATH_IMAGES
is defined now.yes
).no
).yes
).no
).[prop]
- Aliases added for all properties. Now it's possible to use e.g., [order_number]
instead of [prop name="order_number"]
, etc. [prop]
shortcodes replaced with aliases in doc settings default values.[prop]
- order_tax_totals
option added.[prop]
- order_subtotal_incl_tax
option added.[prop]
- order_total_excl_shipping
option added.[prop]
- item_single_incl_tax
option added.[prop]
- doc_formatted_date
- datetime_format
attribute added (defaults to Y-m-d
).[prop]
- order_formatted_date_created
- datetime_format
attribute added (defaults to Y-m-d
).[prop]
- find
and replace
attributes added.[current_time]
shortcode added.[checkbox]
shortcode added.[prop]
- order_func
, item_func
, item_product_func
- Now properly checking if function is callable.load_plugin_textdomain()
moved to the init
action.alg_wc_pdf_invoicing_add_order_notes
filter added (defaults to true
).[each_item]
- Optional type
attribute added (defaults to line_item
).[prop]
- order_total_items_count
- Optional type
attribute added (defaults to line_item
).[prop]
- Shortcodes are now processed in optional add
and multiply
attributes.[prop]
- item_total_tax_percent
- Not applying round()
anymore.[prop]
- order_discount
option added.[prop]
- order_discount_incl_tax
option added.[prop]
- order_discount_tax
option added.[prop]
- order_discount_percent
option added.[prop]
- item_subtotal
option added.[prop]
- item_subtotal_tax
option added.[prop]
- item_discount
option added.[prop]
- item_discount_incl_tax
option added.[prop]
- item_discount_tax
option added.[prop]
- item_discount_percent
option added.alg_wc_pdf_invoicing_return_prop
filter added.Alg_WC_PDF_Invoicing_TCPDF
class added.[prop]
- item_total_tax_percent
option added.[prop]
- item_total_incl_tax
option added.[prop]
- item_total_tax
option added.[prop]
- order_subtotal
option added.[prop]
- order_billing_first_name
option added.before
and after
attributes are now displayed for non-empty values only.item_product
shortcodes fixed.[prop]
- item_product_id
option added.[prop]
- item_product_taxonomy
option added.