E-INVOICE: small bugs UBL21
This commit is contained in:
parent
1961634f0f
commit
8a3c718186
4 changed files with 10 additions and 12 deletions
|
|
@ -1,2 +0,0 @@
|
|||
*.log
|
||||
ajax
|
||||
|
|
@ -209,8 +209,8 @@ abstract class XMLInvoice extends \DOMDocument
|
|||
}
|
||||
$result['operation'][$i]['vat_id']=$operation->det->array[$i]['qs_vat_code'];
|
||||
// // tva code for PEPPOL
|
||||
// $x=$this->cn->get_value("select tva_peppol_code from tva_rate where tva_id=$1"
|
||||
// ,[ $result['operation'][$i]['vat_id']]);
|
||||
$x=$this->cn->get_value("select tva_peppol_code from tva_rate where tva_id=$1"
|
||||
,[ $result['operation'][$i]['vat_id']]);
|
||||
$result['operation'][$i]['vat_code']=($x=="")?"S":$x;
|
||||
|
||||
$result['operation'][$i]['vat_reversed']=$operation->det->array[$i]['qs_vat_sided'];
|
||||
|
|
|
|||
|
|
@ -191,13 +191,13 @@ class Tva_Rate_MTable extends Manage_Table_SQL
|
|||
$text->selected=$value;
|
||||
$text->transform(array(
|
||||
null=>_('-')
|
||||
,"S"=>_('Taux standard')
|
||||
,'AE'=>_('Autoliquidate mais pas INTRACOMM.')
|
||||
,'Z'=>_("TVA à 0%")
|
||||
,'K'=>_('Autoliquidation INTRACOMM.')
|
||||
,'G'=>_('TVA exempt pour export hors Europe')
|
||||
,'O'=>_('TVA Hors périmètre application')
|
||||
,'E'=>_('Exempté de TVA')
|
||||
,"S"=>_('S Taux standard')
|
||||
,'AE'=>_('AE Autoliquidate mais pas INTRACOMM.')
|
||||
,'Z'=>_("Z TVA à 0%")
|
||||
,'K'=>_('K Autoliquidation INTRACOMM.')
|
||||
,'G'=>_('G TVA exempt pour export hors Europe')
|
||||
,'O'=>_('O TVA Hors périmètre application')
|
||||
,'E'=>_('E Exempté de TVA')
|
||||
));
|
||||
echo $text->input();
|
||||
}elseif ($key == "tva_id") {
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ insert into parameter_extra(pe_code,pe_label) values ('COMPANY_LEGAL_ENTITY','Fo
|
|||
insert into parameter_extra(pe_code,pe_label) values ('COMPANY_BANK_IBAN','Compte en banque (IBAN)') on conflict do nothing;
|
||||
insert into parameter_extra(pe_code,pe_label) values ('COMPANY_BANK_BIC','BIC Bank Identification Code') on conflict do nothing;
|
||||
insert into parameter_extra(pe_code,pe_label) values ('COMPANY_UBL_ID','ID PEPPOL') on conflict do nothing;
|
||||
insert into parameter_extra(pe_code,pe_label) values ('SIRENE','n° SIRENE') on conflict do nothing;
|
||||
insert into parameter_extra(pe_code,pe_label) values ('SIREN','n° SIREN') on conflict do nothing;
|
||||
insert into parameter_extra(pe_code,pe_label) values ('SIRET','n° SIRET') on conflict do nothing;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue