Fix translations of contract exports
This commit is contained in:
parent
6321e96e49
commit
0a33f0728a
@ -143,11 +143,11 @@ class modContrat extends DolibarrModules
|
||||
$this->export_fields_array[$r]=array('s.rowid'=>"IdCompany",'s.nom'=>'CompanyName','s.address'=>'Address','s.zip'=>'Zip','s.town'=>'Town','c.code'=>'CountryCode',
|
||||
's.phone'=>'Phone','s.siren'=>'ProfId1','s.siret'=>'ProfId2','s.ape'=>'ProfId3','s.idprof4'=>'ProfId4','s.code_compta'=>'CustomerAccountancyCode',
|
||||
's.code_compta_fournisseur'=>'SupplierAccountancyCode','s.tva_intra'=>'VATIntra',
|
||||
'co.rowid'=>"contractId",'co.ref'=>"contractRef",'co.datec'=>"contractDateCreation",'co.date_contrat'=>"DateContract",'co.mise_en_service'=>"DateMiseService",
|
||||
'co.fin_validite'=>"EndValidity",'co.date_cloture'=>"Cloture",'co.note_private'=>"NotePrivate",'co.note_public'=>"NotePublic",
|
||||
'co.rowid'=>"Id",'co.ref'=>"Ref",'co.datec'=>"DateCreation",'co.date_contrat'=>"DateContract",'co.mise_en_service'=>"ContractStartDate",
|
||||
'co.fin_validite'=>"ContractEndDate",'co.date_cloture'=>"Closing",'co.note_private'=>"NotePrivate",'co.note_public'=>"NotePublic",
|
||||
'cod.rowid'=>'LineId','cod.label'=>"LineLabel",'cod.description'=>"LineDescription",'cod.price_ht'=>"LineUnitPrice",'cod.tva_tx'=>"LineVATRate",
|
||||
'cod.qty'=>"LineQty",'cod.total_ht'=>"LineTotalHT",'cod.total_tva'=>"LineTotalVAT",'cod.total_ttc'=>"LineTotalTTC",
|
||||
'cod.date_ouverture'=>"DateStart",'cod.date_ouverture_prevue'=>"DateStartPrevis",'cod.date_fin_validite'=>"EndValidity",'cod.date_cloture'=>"DateEnd",
|
||||
'cod.date_ouverture'=>"DateStart",'cod.date_ouverture_prevue'=>"DateStartPlanned",'cod.date_fin_validite'=>"DateEndPlanned",'cod.date_cloture'=>"DateEnd",
|
||||
'p.rowid'=>'ProductId','p.ref'=>'ProductRef','p.label'=>'ProductLabel');
|
||||
|
||||
$this->export_entities_array[$r]=array('s.rowid'=>"company",'s.nom'=>'company','s.address'=>'company','s.zip'=>'company',
|
||||
|
||||
@ -103,7 +103,9 @@ $entitytolang = array(
|
||||
'task_time' => 'TaskTimeSpent',
|
||||
'action' => 'Event',
|
||||
'expensereport'=> 'ExpenseReport',
|
||||
'expensereport_line'=> 'ExpenseReportLine'
|
||||
'expensereport_line'=> 'ExpenseReportLine',
|
||||
'contract' => 'Contract',
|
||||
'contract_line'=> 'ContractLine'
|
||||
);
|
||||
|
||||
$array_selected=isset($_SESSION["export_selected_fields"])?$_SESSION["export_selected_fields"]:array();
|
||||
|
||||
@ -21,6 +21,8 @@ ServicesLegend=Services legend
|
||||
Contracts=Contracts
|
||||
ContractsAndLine=Contracts and line of contracts
|
||||
Contract=Contract
|
||||
ContractLine=Contract line
|
||||
Closing=Closing
|
||||
NoContracts=No contracts
|
||||
MenuServices=Services
|
||||
MenuInactiveServices=Services not active
|
||||
|
||||
@ -48,6 +48,7 @@ NoImportableData=No importable data (no module with definitions to allow data im
|
||||
FileSuccessfullyBuilt=Export file generated
|
||||
SQLUsedForExport=SQL Request used to build export file
|
||||
LineId=Id of line
|
||||
LineLabel=Label of line
|
||||
LineDescription=Description of line
|
||||
LineUnitPrice=Unit price of line
|
||||
LineVATRate=VAT Rate of line
|
||||
|
||||
Loading…
Reference in New Issue
Block a user