Closed (fixed)
Project:
Commerce WinBIZ
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2013 at 09:35 UTC
Updated:
12 Jul 2013 at 19:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
miro_dietikerOnly these document types make sense (for now):
10 Angebot
12 Bestellung
20 Rechnung
Comment #2
s_leu commentedOk i added a field on the settings form, a getter for the types and changed the output of the export to use the configured type. Default is still 20 (order confirmation).
Note that you have to set the document type option of your website configuration in WinBiz to "Standard" in order to get the imported documents with the type configured in Drupal.
Comment #3
miro_dietikerThat note is fine, however it should be added to the settings description in the admin area.
Comment #4
s_leu commentedComment #5
miro_dietikerIt seems now the constant is no more used. Search for it and remove it. Or use it below in the settings...
WinBiz - Plz check how we defined to write it consistently...
Comment #6
s_leu commentedComment #7
corvus_ch commentedKeept the constant and use it for the default when using variable get.
Comment #8
s_leu commentedOk here's the suggested change
Comment #9
corvus_ch commentedCode looks fine for me. I did not have testet the functionality though.
Comment #10
s_leu commentedThe functionality was well tested by me and it's working fine.
Comment #11
miro_dietikerNo, here you need to use the plain value, not the constant!
Comment #12
s_leu commentedComment #13
miro_dietikerAdded.