Version 1.1.13

February 21, 2023

Added

  • Failed invoices and creditnotes, not start product sync to ensure missing products is not the issue

Version 1.1.12

August 2, 2022

Added

  • Creditnotes for orders, paid using the EAN gateway, now requires account number and registration number for bank account.

Version 1.1.11

May 5, 2022

Fixed

  • Fixed bug where invoices would fail because customer entered business tax id with spaces. Plugin now strips all spaces away.
  • Fixed a bug in QD\commerce\economic\models\Product where setSalePrice returned a int instead of float, resulting in decimal prices beeing stripped

Version 1.1.10

May 5, 2022

Fixed

  • Fixed a bug where shipping orderline could be calculated wrong, of order only consist of shipping
  • Fixed a bug where discount on orderlines could be missed

Version 1.1.9

February 14, 2022

Fixed

  • Fixed creditnotes not skipping line with 0 qty

Version 1.1.8

December 20, 2021

Fixed

Undo v. 1.1.5 changes, because if we remove the country code, we can't verify customers in multi country B2B integration because country field in e-conomic is a text field. E-conomic has been been notified about the consequences of the automated country code to the REST-api - https://forum.e-conomic.dk/37762/kunders-landefelt-skal-ikke-vaere-fri-tekst

Version 1.1.7

December 2, 2021

Fixed

  • Fixed bug in QD\commerce\economic\models\CustomerGroup where it would fail if a customer group wasn't a match

Version 1.1.6

November 15, 2021

Added

  • Its now possible to map checkout countries to specific customer groups

Version 1.1.5

November 15, 2021

Changed

  • Plugin now validates the VAT-number to filter out any country codes that is prepended it. This is because E-conomic will prepend the VAT-number automaticly with the country code of the selected customer.

Version 1.1.4

November 12, 2021

Fixed

  • Fixed error in creditnote calculation

Version 1.1.3

October 26, 2021

Adjusted

  • Adjusted QD\commerce\economic\services\Orders::getOrderLines() to calculate rate based on applied taxrates.

Version 1.1.2

October 14, 2021

Added

  • Plugin can now create orders and quotes in e-conomic. This isn't automatic, and you have to manually trigger the two Queue jobs. Integration is made via their SOAP-api beucase orders and quotes won't work with REST-api if inventory module is enabled in e-conomic.

Version 1.1.1

October 7, 2021

Added

Version 1.1.0

October 4, 2021

New feature

Added the possiblity to create credit notes via an order. Credit notes is stored in Craft CMS, and synced to e-conomic when it gets marked as completed. It's also possible to restock the qty set in the creditnote.

Added

  • New CreditNoteEvent which fires after an Creditnote is marked as completed.
  • New RestockEvent which fires before the restock function is run. It's an cancellable event.

Version 1.0.27

August 9, 2021

Added

  • Added Order to EVENT_BEFORE_CREATE_INVOICE_DRAFT

Version 1.0.24

July 13, 2021

Fixed

  • Fixed error in API Service, calling wrong method

Version 1.0.23

June 30, 2021

Fixed

  • Fixed settings issue that prevented migration to run

Version 1.0.20

June 30, 2021

Added

  • Added error logs for invoice creation and booking
  • Added new database column for discount productnumber setting
  • Added settings option to set productnumber for order discounts/vouchers

Fixed

  • Fixed invoices missing discounts/vouchers not applied to a specific product

Version 1.0.19

May 28, 2021

Fixed

  • Fixed error in invoice creation, when the salesprice was zero
  • Fixed error in invoice creation when no ean contact had been set

Version 1.0.14

March 29, 2021

Fixed

  • Fixed error in PaymentTerms, which wouldnt match gatewayrelations to order gateway

Version 1.0.11

March 18, 2021

Added

  • Added an EAN gateway

Changed

Settings is now stored in database instead of the project config

Version 1.0.10

March 11, 2021

Fixed

  • Fixed error in OrderBehaviour that prevent queue jobs executed by console to run

Version 1.0.9

October 28, 2020

Changed

  • Removed unnessesary log

Fixed

  • Fixed OrderQuery returning null qhen query on custom attributes
  • Fixed EVENT_AFTER_INVOICE_BOOKING beeing trigger twice

Version 1.0.8

October 27, 2020

Fixed

  • Fixed issues with customer creation

Version 1.0.5

October 27, 2020

Fixed

  • Fixed error where a null value in customerNumber would make the customer creation fail

Version 1.0.4

October 27, 2020

Fixed

  • Fixed typo

Version 1.0.3

October 27, 2020

Added

  • Added QD\commerce\economic\models\CustomerGroup model
  • Added getter functions to all models
  • Added QD\commerce\economic\services\Invoices\createCustomerFromOrder function, which returns the customer object from E-conomic

Fixed

  • Fixed missing function to create a customer, if none exists in E-conomic
  • Fixed error in QD\commerce\economic\services\Invoices\bookInvoiceDraft where it was trying to fetch collection data instead of the response object

Version 1.0.2

October 27, 2020

Added

  • Added getters to invoice model

Fixed

  • Fixed error in API request when booking drafted invoice

Version 1.0.1

October 27, 2020

Fixed

  • Fixed error where api service didn't parse Env variable befor setting granttoken and secrettoken.

Version 1.0.0

October 27, 2020

Initial release of the Visma E-conomic integration to the Craft Store