Handle order files download separately from delivery process files
This commit is contained in:
@@ -39,7 +39,8 @@ class Wiaas_Order_Fields {
|
|||||||
|
|
||||||
public static function display_order_document_fields($file_path, $field) {
|
public static function display_order_document_fields($file_path, $field) {
|
||||||
|
|
||||||
if ($field->type === 'wiaas_order_bundle_document') {
|
if (strpos($file_path, 'gf-download') === false &&
|
||||||
|
strpos($file_path, 'gf-wiaas-order-doc') === false) {
|
||||||
|
|
||||||
$field = new Wiaas_Field_Order_Bundle_Document();
|
$field = new Wiaas_Field_Order_Bundle_Document();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user