add payements table
authorKilian Saffran <ksaffran@dks.lu>
Thu, 21 Feb 2019 06:49:27 +0000 (07:49 +0100)
committerKilian Saffran <ksaffran@dks.lu>
Thu, 21 Feb 2019 06:49:27 +0000 (07:49 +0100)
modules/invoices/invoice.html
modules/invoices/invoice.js

index e8c6016..efdbe2a 100644 (file)
   </nav>
   <div class="cotainer-fluid" style="margin-top: 52px;">
     <ul class="nav nav-tabs" id="pagetab" role="tablist">
-      <li class="nav-item"><a aria-controls="invoice" aria-selected="true" class="nav-link active" data-toggle="tab" href="#invoice" id="home-tab" role="tab">Rechnung</a></li>
-      <li class="nav-item"><a aria-controls="files" aria-selected="false" class="nav-link" data-toggle="tab" href="#files" id="profile-tab" role="tab">Dateien</a></li>
-      <li class="nav-item"><a aria-controls="notes" aria-selected="false" class="nav-link" data-toggle="tab" href="#notes" id="profile-tab" role="tab">Zusatz-Texte</a></li>
+      <li class="nav-item"><a aria-controls="invoice" aria-selected="true" class="nav-link active" data-toggle="tab" href="#invoice" id="invoice-tab" role="tab">Rechnung</a></li>
+      <li class="nav-item"><a aria-controls="files" aria-selected="false" class="nav-link" data-toggle="tab" href="#files" id="files-tab" role="tab">Dateien & Bezahlung</a></li>
+      <li class="nav-item"><a aria-controls="notes" aria-selected="false" class="nav-link" data-toggle="tab" href="#notes" id="notes-tab" role="tab">Zusatz-Texte</a></li>
+      
     </ul>
     <div class="tab-content" id="tabpagecontent">
  <div aria-labelledby="invoice-tab" class="tab-pane fade show active" id="invoice" role="tabpanel">
       </div>
       <div aria-labelledby="files-tab" class="tab-pane fade" id="files" role="tabpanel">
         <div class="row">
+            <div class="col-md-8">
+                <table class="table table-bordered table-hover table-striped" id="tbl_payements">
+                    <thead class="thead-dark">
+                      <tr>
+                        <th data-checkbox="true"></th>
+                        <th data-sortable="true">Datum</th>
+                        <th data-sortable="true">Typ</th>
+                        <th data-sortable="true">Sender</th>
+                        <th data-sortable="true">Empfänger</th>
+                        <th data-sortable="true">KontoAuszug</th>
+                        <th data-sortable="true">Betrag</th>
+                      </tr>
+                    </thead>
+                  </table>
+            </div>
           <div class="col-md-4">
             <table class="table table-bordered table-hover table-striped" id="tbl_files">
               <thead class="thead-dark">
               </thead>
             </table>
           </div>
-          <div class="col-md-8">
-            Preview...
-          </div>
+          
         </div>
       </div>
       <div aria-labelledby="notes-tab" class="tab-pane fade" id="notes" role="tabpanel">
           </div>
         </div>
       </div>
+      
     </div>
   </div>
   <script> if (typeof module === 'object') {window.module = module; module = undefined;}</script> 
index b8851d0..e792a66 100644 (file)
@@ -59,8 +59,7 @@ function getinvoicedata(id){
             } else {
                 $("#" + i).html(data.sqldata[0][i]);
             }
-            
-            
+
             $("#" + i).val(data.sqldata[0][i]);
         }
     }