Download & Extend

Create a hook for providing delivery methods and move the filesystem and e-mail delivery methods into sub-modules.

Project:Ubercart EDI
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

A hook needs to be created to allow other modules to implement delivery methods such as FTP. While we're at it, let's move the filesystem and e-mail delivery methods into their own sub-modules.

Cheers,

Antoine

Comments

#1

Status:active» needs review

I am attaching a patch that accomplishes the following:
- Wrapped export preview in check_plain() to encode html characters.
- Increment uc_edi_order_export_next_batch_id on each export.
- Organized information by object (order, customer, etc.), import/export and additional.
- Added a hook for delivery method modules to hook into.
- Added an export delivery methods settings form.
- Moved the filesystem delivery method into it's own Ubercart EDI filesystem module.
- Moved the e-mail delivery method into it's own Ubercart EDI e-mail module.
- Moved the Ubercart EDI and sub-modules into it's own Ubercart - EDI package.

Once this patch is comitted, the next step will be FTP!

Cheers,

Antoine

AttachmentSize
uc_edi_996970.patch 75.88 KB

#2

I forgot to update the CHANGELOG.txt and I found a few minor issues. Attaching an updated patch.

Cheers,

Antoine

AttachmentSize
uc_edi-996970_1.patch 77.05 KB

#3

Status:needs review» fixed

The attached patch has been committed.

Cheers,

Antoine

AttachmentSize
uc_edi-996970_2.patch 79.26 KB

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.