=== Dation Woocommerce ===
Contributors: jvanhengeldationnl
Requires at least: 5.2
Tested up to: 5.2
Stable tag: trunk
Requires PHP: 7.2
License: GPLv3
License URI: https://raw.githubusercontent.com/CuriousInc/dation-woocommerce/master/LICENSE

Sell your Dation courses directly online!

== Description ==

Sell your Dation courses directly online! This [Wordpress](http://wordpress.org)
plugin pulls your courses from [Dation](https://dation.nl) and displays them in
your [Woocommerce](https://woocommerce.com) webshop (a Wordpress ecommerce plugin).

Students can enroll directly on your website and their details are uploaded to Dation automatically.

== Installation ==

Install and activate the plugin and go to the Dation Woocommerce settings page in the wp-admin menu. Fill in your driving school code and API-key to start fetching courses from Dation.
You can set prices, filter on (CCV) codes and enable specific 'Terugkommoment' features.

== Changelog ==
= 1.2.47 =
* Dependency updates. Minor contact form update

= 1.2.46 =
* Add phone number validation to checkout process

= 1.2.45 =
* Fix synchronizing orders to Dation

= 1.2.44 =
* Minor bug fix.

= 1.2.43 =
* Fix a bug where the location of a course is not imported

= 1.2.42 =
* contact form update

= 1.2.40 =
* dependency updates and bug fixes

= 1.2.39 =
* bug fix for deleting woocommerce products

= 1.2.38 =
* Add new reason for delay for terugkommomenten. Remove optional label from optional input fields

= 1.2.37 =
* add date format hint to contact form date inputs

= 1.2.36 =
* Add product name custom attribute

= 1.2.35 =
* update labels of checkout fields to include the required date format

= 1.2.34 =
* add option to set a redirect url after successfully submitting a lead

= 1.2.33 =
* Do not set price when updating product

= 1.2.32 =
* Add setting to automatically remove products without stock

= 1.2.31 =
* Improve form validation contact form

= 1.2.30 =
* Fix birthDate for leads api

= 1.2.29 =
* decrease length of checkout url

= 1.2.28 =
* Add COVID delay reason to checkout form

= 1.2.27 =
* Improve process of deleting products in the past

= 1.2.26 =
* Update existing woocommerce product when syncing with Dation. Delete woocoomerce products that no longer exist in Dation.

= 1.2.25 =
* Add specific contact forms

= 1.2.24 =
* fix requires for crons

= 1.2.23 =
* fix requires for crons

= 1.2.22 =
* automatically delete outdated products for lead functionality

= 1.2.21 =
* improve styling

= 1.2.20 =
* Customise contact form

= 1.2.19 =
* Customise contact form

= 1.2.18 =
* bug fix when importing products

= 1.2.17 =
* improve contact mobile view, add trainingName and trainingDate to lead note output

= 1.2.16 =
* improve contact form style

= 1.2.15 =
* prefix custom url parameters - front end

= 1.2.14 =
* prefix custom url parameters

= 1.2.13 =
* Add customization options for contact form

= 1.2.12 =
* add contact form directory to list of build directories

= 1.2.11 =
* add contact form page

= 1.2.10 =
* Fix after changing date formats

= 1.2.9 =
* Change date formats for dation Api

= 1.2.8 =
* Add lead contact form page. Page can be set in 'settings'. Will be added to extra field 'product_url'.

= 1.2.7 =
* Add new 'Reason for delay' option for TKM 2.

= 1.2.6 =
* Add new 'Reason for delay' option for TKM.

= 1.2.5 =
* Add location information to Dation Woocommerce Product, to be used in email confirmation.

= 1.2.4 =
* Add humanly formatted date at product attribute

= 1.2.2 =
* Add 'Reason for delay' for TKM moments that are later than 11 months after the issue date of the drivers license

= 1.2.0 =
* Generalize plugin. TKM options behind checkbox. Added filter for training(ccv) codes.

= 1.1.2 =
* Sanitize Rijksregisternummer

= 1.1 =
* Create students in Dation from order

= 1.0 =
* Load courses from Dation as products
