Download FV asDocument from E5 CRM; E-Commerce: fix rewizor encoding
This commit is contained in:
@@ -67,6 +67,13 @@ class Document extends SugarBean {
|
||||
var $related_doc_rev_number;
|
||||
var $is_template;
|
||||
var $template_type;
|
||||
var $payment_date;
|
||||
var $transaction_type;
|
||||
var $document_type;
|
||||
var $value;
|
||||
var $left_paid;
|
||||
var $currency_id;
|
||||
var $document_number;
|
||||
//additional fields.
|
||||
var $revision;
|
||||
var $last_rev_create_date;
|
||||
@@ -354,6 +361,7 @@ class Document extends SugarBean {
|
||||
$return_array [] = $w;
|
||||
}
|
||||
$json = getJSONobj();
|
||||
var_dump($return_array);
|
||||
return $array ? $return_array : $json->encode($return_array);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user