|
@@ -422,11 +422,11 @@ function getSupplierInvoicesForThirdParty($authentication, $idthirdparty)
|
|
|
'ref'=>$invoice->ref,
|
|
|
'ref_supplier'=>$invoice->ref_supplier,
|
|
|
'ref_ext'=>$invoice->ref_ext,
|
|
|
- 'fk_user_author' => $invoice->fk_user_author,
|
|
|
- 'fk_user_valid' => $invoice->fk_user_valid,
|
|
|
- 'fk_thirdparty' => $invoice->fk_soc,
|
|
|
+ 'fk_user_author' => $invoice->user_creation_id,
|
|
|
+ 'fk_user_valid' => $invoice->user_validation_id,
|
|
|
+ 'fk_thirdparty' => $invoice->socid,
|
|
|
'type'=>$invoice->type,
|
|
|
- 'status'=>$invoice->statut,
|
|
|
+ 'status'=>$invoice->status,
|
|
|
'total_net'=>$invoice->total_ht,
|
|
|
'total_vat'=>$invoice->total_tva,
|
|
|
'total'=>$invoice->total_ttc,
|