Skip to content

Releases: VirtoCommerce/vc-module-order

3.812.0

09 Apr 08:53
Compare
Choose a tag to compare

🎯 Development

Updates last-xxx filters with these rules:

  • Today.
  • Last Day - Display date range from the day before the current date to the current date at midnight.
  • Last Week - Calculate date range starting from the Monday of the week before the current date to the Monday of the current week.
  • Last Month - Determine date range from the first day of the previous month to the first day of the current month.
  • Last Year - Define date range from the first day of the year before the current year to the first day of the current year.

3.225.17

09 Apr 15:35
Compare
Choose a tag to compare

🐞 Bug fixes

  • (Rest API returns Unauthorized instead of Forbid. )
  • (User does not get access to the order dashboard after refresh page (#371))

3.225.16

09 Apr 13:43
Compare
Choose a tag to compare

🐞 Bug fixes

  • (User does not get access to the order dashboard after refresh page (#371))

3.811.0

27 Mar 13:24
Compare
Choose a tag to compare

🎯 Development

  • Extended OrderOperation registration with isLocked function to check readonly/locked mode
  • Added knownOperations.isLocked(type, entity) for checking readonly/locked mode of an entity
  • Admin UI now supports customization of Readonly/Locked Mode for order operations. Operation extended with isLocked(entity) function for defining custom readonly rules.

Operation Registation

knownOperations.registerOperation({
                    type: 'CustomerOrder',
                    treeTemplateUrl: 'orderOperationDefault.tpl.html',
                    isLocked: function (entity) {
                        return entity.status === 'Completed' ||
                            entity.cancelledState === 'Completed' ||
                            entity.isCancelled;
                    },
                    detailBlade: {
                        id: 'orderDetail',
                        template: 'Modules/$(VirtoCommerce.Orders)/Scripts/blades/customerOrder-detail.tpl.html',
                        knownChildrenOperations: ['Shipment', 'PaymentIn'],
                        metaFields: [
...

Extension Samples - Deactivate Readonly

var orderOperation = knownOperations.getOperation('CustomerOrder');

// Override Readonly/Locked default logic for CustomerOrder
orderOperation.isLocked = function () {
                        return false;
                    };

3.810.0

27 Mar 08:08
Compare
Choose a tag to compare

🎯 Development

  • add predefined filters (#413)

image

3.809.0

13 Mar 09:06
Compare
Choose a tag to compare

🐞 Bug fixes

  • (The form of the new shipment, payment document contains the value in the Date and time field 1 of January.)

3.800.6

13 Mar 10:36
Compare
Choose a tag to compare

🐞 Bug fixes

  • (The form of the new shipment, payment document contains the value in the Date and time field 1 of January.)

3.426.7

13 Mar 10:45
Compare
Choose a tag to compare

🐞 Bug fixes

  • (The form of the new shipment, payment document contains the value in the Date and time field 1 of January.)

3.808.0

11 Mar 12:00
Compare
Choose a tag to compare

🐞 Bug fixes

  • The tree node that represents shipment operation in order details blade will display delivery date or "-" if not set.
  • The tree node that represents shipment operation in order details blade will not display monetary amount associated with the shipment if it is not set.

3.807.0

06 Mar 09:59
Compare
Choose a tag to compare

🎯 Development

  • Set of back office improvements to support Order Manager Role with limited permission.

🐞 Bug fixes

  • OrganizationId not found error.
  • Extra padding on order details blade.
  • Eliminate usage of securityAccount service.