Skip to content

Commit

Permalink
Erotetaan Apix ja Trustkapital toisistaan
Browse files Browse the repository at this point in the history
  • Loading branch information
satuaalto committed Feb 5, 2016
1 parent b704271 commit b0ca5be
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
9 changes: 7 additions & 2 deletions tilauskasittely/verkkolasku_finvoice.inc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if (!function_exists('finvoice_otsik')) {
$tulostuspalvelu = "EKIRJE";
break;
case '003723327487':
$tulostuspalvelu = "TULOSTUSPALVELU";
$tulostuspalvelu = "TULOSTUS";
break;
case '003721291126':
$tulostuspalvelu = "PRINT";
Expand All @@ -53,7 +53,12 @@ if (!function_exists('finvoice_otsik')) {
$tulostuspalvelu = "";
break;
}


// Trustkapitalilla pitä olla TULOSTUSPALVELU
if ($senderintermediator == '003723327487' and $yhtiorow['verkkolasku_lah'] == 'trustpoint') {
$tulostuspalvelu = "TULOSTUSPALVELU";
}

// Aloitellaan aineiston luontia. Kaikki tiedot pitää olla kunnossa, tai chn 112 "Pupesoft-Finvoice: Verkkolasku Pupesoftista-Pupesoftiin"
if (($senderpartyid != "" and $senderintermediator != "" and $tulostuspalvelu != "") or $lasrow["chn"] == "112") {

Expand Down
7 changes: 5 additions & 2 deletions tilauskasittely/verkkolasku_finvoice_201.inc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if (!function_exists('finvoice_otsik')) {
$tulostuspalvelu = "EKIRJE";
break;
case '003723327487':
$tulostuspalvelu = "TULOSTUSPALVELU";
$tulostuspalvelu = "TULOSTUS";
break;
case '003721291126':
$tulostuspalvelu = "PRINT";
Expand All @@ -53,7 +53,10 @@ if (!function_exists('finvoice_otsik')) {
$tulostuspalvelu = "";
break;
}

// Trustkapitalilla pitä olla TULOSTUSPALVELU
if ($senderintermediator == '003723327487' and $yhtiorow['verkkolasku_lah'] == 'trustpoint') {
$tulostuspalvelu = "TULOSTUSPALVELU";
}
// Aloitellaan aineiston luontia. Kaikki tiedot pitää olla kunnossa, tai chn 112 "Pupesoft-Finvoice: Verkkolasku Pupesoftista-Pupesoftiin"
if (($senderpartyid != "" and $senderintermediator != "" and $tulostuspalvelu != "") or $lasrow["chn"] == "112") {

Expand Down

0 comments on commit b0ca5be

Please sign in to comment.