#4423 closed defect (bug) (fixed)
Invoices: Don't display the VAT table row if no VAT details present
Reported by: | dd32 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | has-patch |
Cc: |
Description
Currently Invoices will include the VAT: 0
line in the table even if the plugin is set to not collect VAT numbers.
The attached patch simply hides that row, and only shows it if either of the following conditions are met:
- The form is set to accept VAT numbers
- The invoice has a VAT number associated with it
While using either of these conditionals individually would suffice, it was simpler to just cover future bases by checking both.
This will aid in the future usage of the plugin outside of the EU.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Fixed in r8797