Skip to content

Commit

Permalink
Prefix pro odlišení testovacích smluv
Browse files Browse the repository at this point in the history
  • Loading branch information
vpithart committed Dec 13, 2024
1 parent 2b12c3f commit 55b355f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/services/GeneratorSmlouvy.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ public static function parametryUcastnickeSmlouvy($uzivatel, $cislo_smlouvy = nu
$cenaString = sprintf('0 Kč (zdarma)');
}

$subjectPrefix = getenv('AGREEMENT_NAME_PREFIX');
if (!empty($subjectPrefix)) {
$jmenoString = "($subjectPrefix) $jmenoString";
}

$ip4Adresy = [];
$IPAdresa = $container->getByType('App\Model\IPAdresa');
foreach (
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ services:
- INFLUX_URL=influxdb://wewimo:[email protected]:8086/wewimo
- PDF_GENERATOR_URL=http://pdf-generator/
- FILE_STORAGE_PATH=/opt/userdb/smlouvy # sem se ukládají PDFka - smlouvy
# DIGISIGN_ACCESS_KEY a DIGISIGN_SECRET_KEY pro vývoj si dej do .local.env
- AGREEMENT_NAME_PREFIX=DEVELOPMENT TEST
env_file:
- path: .local.env
required: false
Expand Down

0 comments on commit 55b355f

Please sign in to comment.