Druckfunktion Anzeige Liednr bei Noten bearbeiten

This commit is contained in:
aschwarz
2023-08-25 08:36:18 +02:00
parent 60ba98308e
commit 07a4afe4ce
4 changed files with 47 additions and 17 deletions

View File

@ -70,6 +70,7 @@
<thead>
<tr>
<th>Titel</th>
<th>Liednummer</th>
<th class="d-none d-md-table-cell">Verlag</th>
<th>Songbook</th>
<th class="d-none d-md-table-cell"> Lizenzmenge</th>
@ -80,7 +81,7 @@
<tbody>
{section name=table_data loop=$table_data}
<tr>
<td>{if $table_data[table_data].fileexists == 1}<a href="{$table_data[table_data].link}" target="_new">{$table_data[table_data].titel}</a>{else}{$table_data[table_data].titel}{/if}
<td>{if $table_data[table_data].fileexists == 1}<a href="print.php?art=E&jndid={$table_data[table_data].jndid}" target='_new'>{$table_data[table_data].titel}</a>{else}{$table_data[table_data].titel}{/if}
{if $table_data[table_data].bemerkung != ''}
<a href="javascript:void(0)" type="button" class="link-secondary" data-bs-toggle="popover" data-bs-html="true" data-bs-trigger="hover focus"
title="Bemerkung"
@ -89,6 +90,7 @@
</a>
{/if}
</td>
<td>{$table_data[table_data].liednr}</td>
<td class="d-none d-md-table-cell">{$table_data[table_data].verlag}</td>
<td>{$table_data[table_data].songbook}</td>
<td class="d-none d-md-table-cell">{$table_data[table_data].restlizenz}/{$table_data[table_data].anz_lizenzen}</td>

View File

@ -103,7 +103,7 @@ $(document).ready(function(){
</div>
{section name=table_data loop=$table_data}
<div class="row mt-0 mt-sm-1 mb-0 mb-sm-1">
<div class="col-8 col-md-5">{$table_data[table_data].bezeichnung}</div>
<div class="col-8 col-md-5"><a href="print.php?art=B&zsid={$table_data[table_data].zsid}" target='_new'>{$table_data[table_data].bezeichnung}</a></div>
<div class="d-none col-md-4 d-md-block">{if $table_data[table_data].lizenzpflicht == 1}{$table_data[table_data].restlizenz}/{$table_data[table_data].anzahl_lizenz}{else}<i>keine</i>{/if}</div>
<div class="col-4 col-md-3 text-end">
<a class="btn mt-1 mt-md-0 btn-success btn-rounded btn-icon btn-sm" onclick="editNotenbuch({$table_data[table_data].zsid})"><i class="fa fa-edit" style="width:18px;"></i></a>