mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
88 lines
2.5 KiB
Smarty
88 lines
2.5 KiB
Smarty
<script type="text/javascript">
|
|
function updateLiveTable(i) {
|
|
var oTableL = $('#verbindlichkeit_kontierungen').dataTable();
|
|
var tmp = $('.dataTables_filter input[type=search]').val();
|
|
oTableL.fnFilter('%');
|
|
//oTableL.fnFilter('');
|
|
oTableL.fnFilter(tmp);
|
|
}
|
|
|
|
|
|
function SaveBelegfeld(element,id)
|
|
{
|
|
SaveOnlinebanking(id,"belegfeld1",element.value);
|
|
}
|
|
|
|
|
|
function SaveBuchungstext(element,id)
|
|
{
|
|
SaveOnlinebanking(id,"buchungstext",element.value);
|
|
}
|
|
|
|
function SaveOnlinebanking(id,feld,wert)
|
|
{
|
|
$.ajax({
|
|
url: 'index.php?module=zahlungseingang&action=onlinebanking&cmd=save',
|
|
data: {
|
|
//Alle Felder die fürs editieren vorhanden sind
|
|
kid: id,
|
|
kfeld: feld,
|
|
kwert: wert
|
|
},
|
|
method: 'post',
|
|
dataType: 'json',
|
|
beforeSend: function() {
|
|
App.loading.open();
|
|
},
|
|
success: function(data) {
|
|
App.loading.close();
|
|
if (data.status == 1) {
|
|
} else {
|
|
alert('Fehler beim Speichern!');
|
|
}
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
<!-- gehort zu tabview -->
|
|
<div id="tabs">
|
|
<ul>
|
|
<li><a href="#tabs-1"></a></li>
|
|
</ul>
|
|
<!-- ende gehort zu tabview -->
|
|
|
|
<!-- erstes tab -->
|
|
<div id="tabs-1">
|
|
<table height="80" width="100%"><tr><td>
|
|
<fieldset class="usersave"><legend>{|Filter|}</legend>
|
|
<center>
|
|
<table width="100%" cellspacing="5" height="50">
|
|
<tr>
|
|
<td><input type="checkbox" id="klaerfaelle"> {|Klärfälle|}</td>
|
|
<td><input type="checkbox" id="importfehler"> {|Importfehler|}</td>
|
|
<td><input type="checkbox" id="ohneimportfehler"> {|Ohne Importfehler|}</td>
|
|
<td><input type="checkbox" id="pruefen"> {|Status "prüfen"|}</td>
|
|
<td><input type="checkbox" id="buchungstext"> {|Buchungstext statt Kontoauszugstext|}</td>
|
|
<td><input type="checkbox" id="nursoll"> {|SOLL|}</td>
|
|
<td><input type="checkbox" id="nurhaben"> {|HABEN|}</td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</fieldset>
|
|
</td><td>
|
|
<fieldset><legend>{|Datum|}</legend>
|
|
<table cellspacing="5" width="100%" height="50"><tr>
|
|
<td>{|Von|}:</td><td><input type="text" id="von" name="von" value="[VON]" size="12" onchange="updateLiveTable()" /> </td>
|
|
<td>{|Bis|}:</td><td><input type="text" id="bis" name="bis" value="[BIS]" size="12" onchange="updateLiveTable()" /> </td>
|
|
</tr></table>
|
|
</fieldset>
|
|
</td></tr></table>
|
|
[MESSAGE]
|
|
[TAB1]
|
|
[TAB1NEXT]
|
|
</div>
|
|
|
|
<!-- tab view schließen -->
|
|
</div>
|
|
|