Revize 1107fbdb
Přidáno uživatelem Petr Lukašík před téměř 6 roky(ů)
app/AdminModule/templates/Transport/default.latte | ||
---|---|---|
10 | 10 |
</div> |
11 | 11 |
</div> |
12 | 12 |
|
13 |
<div class="row mt-5">
|
|
14 |
<div class="col-3">
|
|
15 |
<fieldset>
|
|
16 |
<legend>Text export</legend>
|
|
17 |
{control exportForm}
|
|
18 |
</fieldset>
|
|
19 |
</div>
|
|
20 |
</div>
|
|
13 |
{* <div class="row mt-5">*}
|
|
14 |
{* <div class="col-3">*}
|
|
15 |
{* <fieldset>*}
|
|
16 |
{* <legend>Text export</legend>*}
|
|
17 |
{* {control exportForm}*}
|
|
18 |
{* </fieldset>*}
|
|
19 |
{* </div>*}
|
|
20 |
{* </div>*}
|
|
21 | 21 |
{/block} |
app/model/facade/TransportFacade.php | ||
---|---|---|
109 | 109 |
try { |
110 | 110 |
$lineId = $this->getLineIdByCurrentSurfLineNum($surfaceId, (explode(' ', $line)[0])); |
111 | 111 |
if (!$lineId) { |
112 |
$lineId = $this->lineRepository->insert([
|
|
112 |
$this->lineRepository->insert([ |
|
113 | 113 |
LineRepository::COLUMN_SURFACE_ID => $surfaceId, |
114 | 114 |
LineRepository::COLUMN_LINE_NUMBER => (explode(' ', $line)[0]), |
115 | 115 |
LineRepository::COLUMN_TRANSLITERATION => substr(strchr($line, " "), 1), |
Také k dispozici: Unified diff
Re #7510 detaily