Commit Graph

28 Commits

Author SHA1 Message Date
Ewout Fernhout 1a7955d8f5 default tax rate percent to null 2019-07-11 15:56:28 +02:00
Ewout Fernhout 794ba844b2 store tax rate percent in tax items 2019-04-10 17:35:43 +02:00
Claudio Sanches 583378cf7b Fixed includes/class-wc-order-item-tax.php PHPCS violations 2018-03-21 00:52:55 -03:00
Jaydeep Rami 3522857d23 Fix typo in WooCommerce plugin (#16135)
* Fixed typo

* Fixed more typo

* Fixed more typo

* Fix tyop

* Fix more typo

* Fix more typo

* Fix typo

* Fix typo

* Fix typo

* Fix typo datatime object

* Fix short name of compat

* Fix typo: update short name

* Fix typo "deactive" to "deactivate" and short BW - Compat

* Fix typo "Backwards compat"

* Fix typo 'parameters'

* Fix more typo 'pararmeters'

* Fix typo 'compund'

* FIx typo order

* Fix typo

* Fix typo 'incorrecly'

* Fix typo 'genarate'

* Fix typo 'reletive'

* Fix typo 'Handly'

* Fix typo 'rotatated'

* Fix typo

* Fix typo 'additonal'

* Fix typos
2017-07-17 11:10:52 +01:00
Claudiu Lodromanean c0a01a1fe4 Dont set empty strings as tax totals 2017-03-20 15:14:41 -07:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Claudiu Lodromanean 252c08b943 Map legacy tax array keys to CRUD 2017-02-23 11:14:42 -08:00
Claudiu Lodromanean 56b065a782 Performance updates to order tax 2017-02-20 13:50:07 -08:00
Claudiu Lodromanean b855003912 Might as well fix the compound too 2017-02-20 13:13:08 -08:00
Claudiu Lodromanean 79a65efa9c Use get_rate_label for setting the rate label 2017-02-20 12:57:21 -08:00
Mike Jolley b9bb8eabba Fix order item meta 2016-11-24 11:50:34 +00:00
Justin Shreve a7cb7e011c Only return a fallback system when we are in the view context, so we don't overwrite. 2016-11-21 10:57:33 -08:00
Justin Shreve 51a55b6782 Add interface, renaming main order item data store to abstract. Various fixes. 2016-11-21 10:57:33 -08:00
Justin Shreve b20b3590c8 First pass at order items 2016-11-21 10:56:21 -08:00
Aristeides Stathopoulos 0516e96843 PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket 2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Mike Jolley bd2e8ce0cc Remove returns 2016-08-26 10:54:18 +01:00
Mike Jolley 9bd57414c5 Remove set and get prop - no longer need the extra overhead since functions won't return wp_error now. 2016-08-26 10:48:17 +01:00
Mike Jolley 3637814b92 Revert use of default_data for default args and just set that in constructor 2016-08-25 13:31:03 +01:00
Mike Jolley 25883f8687 Set_props helper to load data from DB and handle errors 2016-08-25 13:05:27 +01:00
Mike Jolley a8dc46cfdf Default line item data 2016-08-24 16:06:35 +01:00
Mike Jolley d9798f7226 Set reading to prevent exceptions during DB load 2016-08-24 14:37:19 +01:00
Mike Jolley 53f01b52a8 Bring back WC_Data_Exception 2016-08-24 10:46:29 +01:00
Mike Jolley b727acd96e Implement get and set prop methods 2016-08-23 18:48:48 +01:00
Mike Jolley 2636d04ba6 Setters 2016-08-23 15:25:50 +01:00
Mike Jolley e079895c08 Set rate in one go for tax rate items 2016-08-22 14:52:03 +01:00
Mike Jolley 1baef12395 qty -> quantity 2016-08-16 12:36:38 +01:00
Mike Jolley a1adf0cf78 Order item classes 2016-06-21 20:10:09 +01:00