Commit Graph

34 Commits

Author SHA1 Message Date
Mike Jolley 730019ef18 scrutinizer best practice 2016-06-06 19:39:23 +01:00
Mike Jolley 795cb6d763 Add class for bacs heading 2016-03-24 10:47:08 +00:00
Mike Jolley fab1f224c6 When creating new order from draft, assume 'pending' for status transitions
Fixes #10461
2016-03-03 13:51:04 +00:00
Mike Jolley 6f04ff1fa0 Replace size with length
Fixes #10444
2016-03-01 13:08:25 +00:00
Fredrik Forsmo 60b27d4168 Improve docblock comments in WC_Gateway_BACS
* Added comment to `generate_account_details_html`
* Added missing param tags to `thankyou_page` and `bank_details`
* Removed new line after docblock before `get_country_locale`
2016-01-05 20:02:31 +01:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Florian Ludwig 35655f8544 Fixed all inefficient selector usages
Use find for more efficient selectors - more information on e.g.
https://24ways.org/2011/your-jquery-now-with-less-suck/
2015-09-07 19:51:10 +02:00
Didier Pérez 8bbb0f2878 Hide "Our Bank Details" heading when no bacs registered
The heading "Our Bank Details" is shown in emails even if there are not bacs registered. This fix prevent that.
2015-08-27 13:33:32 -05:00
Claudio Sanches 9e41552342 Removed all "@return void" 2015-07-16 16:55:48 -03:00
Mike Jolley 54fa1e34d3 Show notice when pages don't exist, and set gateway defaults 2015-04-29 13:21:01 +01:00
Bryce 8f89ef9c0b Remove locales with 'Sort Code'
Wrong swamp
2014-11-26 23:03:48 +07:00
Bryce 3fd7997413 Move locale to new method in BACS gateway 2014-11-24 21:26:33 +07:00
Bryce 6dad8fdc59 #6026 - Introduction of Sort Code 'locale' for BACS
In the admin, it will use the store’s base country to determine the
term for ‘Sort Code’.

In the front-end, it will use the customer’s billing country to
determine the term for ‘Sort Code’.

In all cases, if a locale does not have a sortcode label set, it will
use ‘Sort Code’.

**Locales have been added for:**
* AU
* CA
* IE
* IN
* IT
* NZ
* SE
* US
* GB
* ZA

But may need adjusting based on user feedback.
2014-11-21 16:10:12 +07:00
Nicola Mustone b9a89e4589 Fixed indentation and added wp_unslash 2014-10-21 09:43:57 +02:00
shivapoudel bc5156ff4a Absolute path and Indentation fix for includes/gateways/*.php :) 2014-09-21 01:27:58 +05:45
Barry Kooij 6655188f0b Changed use of get_order with wc_get_order 2014-08-15 14:29:21 +02:00
Michael Silber 32bd50c379 Move TFOOT to after TBODY element throughout templates and classes 2014-07-10 21:50:51 -04:00
splashingpixels 63371ac520 moved h3 bank account title out of UL element for correctness 2014-07-03 11:54:36 -07:00
Coen Jacobs 89ea6c46ab Replace new WC_Order calls with get_order 2014-06-13 15:24:51 +02:00
Mike Jolley 309f700283 has_status 2014-06-03 10:45:33 +01:00
Mike Jolley e0a74fffc4 implement is_status() 2014-05-30 17:43:21 +01:00
Mike Jolley 53deeb4be5 Cleaned up logic in email_instructions functions for @splashingpixels 2014-05-07 15:54:22 +01:00
Mike Jolley 8971dc0d92 Set default for $plain_text variable. Closes #5051 2014-03-06 11:57:47 +00:00
Mike Jolley 47d1782b7e Resolve conflicts 2014-03-03 11:59:47 +00:00
Mike Jolley c6e63c663b Merge pull request #4998 from BFTrick/plain-text-flag
Add Plain Text Flag Gateways
2014-03-03 10:53:53 +00:00
claudiosmweb 5c540930c9 improved the bacs email instructions 2014-02-28 20:35:40 -03:00
claudiosmweb 08ae8d5416 forced end of line in bank_details method to fix the #4999 2014-02-28 20:31:53 -03:00
Patrick Rauland 694c6bb5ef adding plain text email flag to bacs 2014-02-28 16:11:57 -06:00
Patrick Rauland b274171f8c adding wordpress php formatting" 2014-02-28 16:05:43 -06:00
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Mike Jolley 110d8c3026 BACS, Cheque, COD Closes #3172
Rather than merging them (they are all different) I've refactered code
and added multiple accounts in BACS which has had multiple requests.
2013-08-05 16:34:54 +01:00
Mike Jolley 8cf74a5250 Add separate instruction fields for BACS and CHEQUE (like COD) Closes #3291. 2013-08-02 11:40:40 +01:00
James Koster fa786a1173 typo 2013-07-08 09:48:48 +01:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00