html5 datetime instead of jquery

anhang pdf rechnung
This commit is contained in:
Markus
2025-05-16 21:21:09 +02:00
parent de4bd6e366
commit 842d9050dc
6 changed files with 68 additions and 11 deletions

View File

@@ -30,6 +30,12 @@ $(function() {
});
function logData(event){
var data = document.getElementById("billfile");
console.log(data.value);
}
function addLine(){
$('#linecont > div').each(function () {
if ($(this).hasClass("d-none")){

View File

@@ -73,6 +73,8 @@ function deleteId(id, table) {
function formatDetails ( d ) {
details = '';
str='';
if (d.rechnung)
str += '<a href="viewBill/'+d.rechnung+'">Rechnung: '+d.rechnung+'</a>';
// `d` is the original data object for the row
d.details.forEach(function(item){
details += '<tr>';
@@ -84,7 +86,7 @@ function formatDetails ( d ) {
details += '</tr>';
});
if (typeof d.quelle !== 'undefined'){
str ='<table class="tabdet" data-bs-id="'+d.id+'">'+
str +='<table class="tabdet" data-bs-id="'+d.id+'">'+
'<tr>'+
'<td>Quelle:</td>'+
'<td>'+d.quelle+'</td>'+