Umänderung diverser Sachen
This commit is contained in:
227
Customers/Invoices.aspx
Normal file
227
Customers/Invoices.aspx
Normal file
@@ -0,0 +1,227 @@
|
||||
<%@ Page Title="Rechnungen VERAG" Language="VB" MasterPageFile="~/Customers/Customers.master" AutoEventWireup="false" CodeFile="Invoices.aspx.vb" Inherits="Kundenbereich_Default" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
|
||||
<!-- Bootstrap -->
|
||||
<html lang="en"></html>
|
||||
<!-- Required meta tags -->
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" title="Verag Spedition AG AvisoTV Flex"/>
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"/>
|
||||
<link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.18.3/dist/bootstrap-table.min.css"/>
|
||||
<!-- Bootstrap CSS -->
|
||||
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.18.3/dist/bootstrap-table.min.css"/>
|
||||
|
||||
<%@ import Namespace="MySql.Data.MySqlClient" %>
|
||||
<script runat="server">
|
||||
|
||||
Sub Page_Load() Handles Me.Load
|
||||
|
||||
'Login-Validierung
|
||||
If Not Me.Page.User.Identity.IsAuthenticated Then
|
||||
FormsAuthentication.RedirectToLoginPage()
|
||||
End If
|
||||
|
||||
' MsgBox ("test")
|
||||
'Dim con As New MySqlConnection
|
||||
'Dim cmd As New MySqlCommand
|
||||
' Dim reader As MySqlDataReader
|
||||
|
||||
' con.ConnectionString = "Server=localhost;Database=verag_homepage;Uid=sec_user;Pwd=eKcGZr59zAa2BEWU;"
|
||||
' cmd.Connection = con
|
||||
'cmd.CommandText = "select * from map"
|
||||
'Try
|
||||
'con.Open()
|
||||
'MsgBox("conn")
|
||||
'reader = cmd.ExecuteReader
|
||||
'grid.DataSource = reader
|
||||
'reader.Read()
|
||||
|
||||
'MsgBox(reader("title"))
|
||||
'DataBind()
|
||||
|
||||
'reader.Close()
|
||||
|
||||
'Catch ex As Exception
|
||||
' MsgBox("err")
|
||||
' End Try
|
||||
' con.Close()
|
||||
|
||||
'If Ver.LIST.Contains(Environment.UserName) == True Then '
|
||||
' Response.Redirect("~{login/login.aspx")'
|
||||
'End If '
|
||||
End Sub
|
||||
|
||||
' Public ReadOnly Property CurrentCity() As String
|
||||
' Get
|
||||
' Return "asd"
|
||||
' End Get
|
||||
' End Property,
|
||||
</script>
|
||||
<style>
|
||||
/* ---------------------------------------------------
|
||||
CONTENT STYLE
|
||||
----------------------------------------------------- */
|
||||
|
||||
.btn btn-primary{
|
||||
color: #043381;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.align-self-center{
|
||||
margin-left: 0.1530221882172915vw /*2px*/;
|
||||
margin-right: 0.1530221882172915vw /*2px*/;
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 558.98px) {
|
||||
.alert {
|
||||
width: /*450px;*/ 99.11894273127753vw;
|
||||
/* width:1328px;*/
|
||||
}
|
||||
.align-self-center{
|
||||
width:100%;
|
||||
}
|
||||
#bodycontent{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
/* @media (min-width: 320px) and (min-height: 640px) {*/
|
||||
@media (min-width: 558.98px) {
|
||||
#content_all {
|
||||
font-size: 1rem;
|
||||
font-size: 3.303964757709251vw;
|
||||
min-width: /*445px;*/ 98.01762114537445vw;
|
||||
float: left;
|
||||
overflow-x: hidden;
|
||||
margin-left: 0px;
|
||||
padding-right: /*-20px*/ -4.405286343612334vw;
|
||||
}
|
||||
}
|
||||
#innerhtmltable{
|
||||
margin-left: /*5px*/0.19615535504119264vw;
|
||||
}
|
||||
#pagecontent{
|
||||
font-size: 1em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center
|
||||
}
|
||||
.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #043381;
|
||||
border-color: #043381;
|
||||
}
|
||||
table {
|
||||
font-size: 16px;
|
||||
}
|
||||
.stretched-link{
|
||||
background-color: #fff;
|
||||
color: #043381;
|
||||
}
|
||||
</style>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
|
||||
<div style="height:/*140px*/15.069967707212056vh;"></div>
|
||||
|
||||
|
||||
|
||||
<h5>Rechungen</h5>
|
||||
|
||||
<div class="row justify-content-md-start">
|
||||
<div class="col-4">
|
||||
<asp:Label ID="Label1" runat="server" Text="Datum"></asp:Label>
|
||||
<div class="input-group">
|
||||
<input type="text" id="myInput1" onkeyup="filterdatvonbis()" placeholder="Von"/>
|
||||
</div>
|
||||
|
||||
<div class="input-group">
|
||||
<input type="text" id="myInput2" onkeyup="filterdatvonbis()" placeholder="Bis"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<div class="input-group">
|
||||
<!-- <asp:Label ID="Label3" runat="server" Text="ReNr:"></asp:Label>-->
|
||||
<input type="text" id="myInput3" onkeyup="filterRENr()" placeholder="Rechnungsnummer"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="height:/*20px*/2.1621621621621623vh;"></div>
|
||||
|
||||
<div id="conovertab">
|
||||
|
||||
<table class="table table-hover table-responsive table-primary" id="tablerechnungen" contenteditable="false">
|
||||
<thead style="width:fit-content;font-size:14px;"><tr><th>Rechnungsnr</th><th>Rechnungsdatum</th><th>LKW</th><th>Grenzsztelle</th><th>Rechnungsbetrag</th><th>Abfertigungsdatum</th><th>Filiale</th><th>Abfertigungsnr.</th><th style="width:/*20px*/ 0.7927070947284979vw;"></th></tr></thead>
|
||||
<tbody id="bodyoftable">
|
||||
<tr><td>045100110</td><td>18.08.2021</td><td>14334234</td><td>SUBEN</td><td>509,21€</td><td>18.08.2021</td><td>SUBEN</td><td>512</td><td><center><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Hier klicken zum Downlaod der Rechnungen."><img src="../images/pdficon.gif" width="15" height="15"/></button></center></td></tr>
|
||||
<tr><td>0487110</td><td>17.05.2021</td><td>14334234</td><td>NEUHAUS A INN</td><td>509,21€</td><td>17.05.2021</td><td>NICKELSDORF</td><td>512</td><td><center><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Hier klicken zum Downlaod der Rechnungen."><img src="../images/pdficon.gif" width="15" height="15"/></button></center></td></tr>
|
||||
<tr><td>88800110</td><td>19.10.2017</td><td>14334234</td><td>SUBEN</td><td>509,21€</td><td>19.10.2017</td><td>WAIDHAUS</td><td>512</td><td><center><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Hier klicken zum Downlaod der Rechnungen."><img src="../images/pdficon.gif" width="15" height="15"/></button></center></td></tr>
|
||||
<tr><td>25100110</td><td>29.02.2021</td><td>14334234</td><td>SUBEN</td><td>509,21€</td><td>18.08.2021</td><td>SUBEN</td><td>512</td><td><center><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Hier klicken zum Downlaod der Rechnungen."><img src="../images/pdficon.gif" width="15" height="15"/></button></center></td></tr>
|
||||
<tr><td>542110</td><td>29.02.2021</td><td>14334234</td><td>SUBEN</td><td>509,21€</td><td>18.08.2021</td><td>SUBEN</td><td>512</td><td><center><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Hier klicken zum Downlaod der Rechnungen."><img src="../images/pdficon.gif" width="15" height="15"/></button></center></td></tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</span> </div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- jQuery CDN - Slim version (=without AJAX) -->
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
||||
<!-- Popper.JS -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
|
||||
|
||||
|
||||
<script>
|
||||
function filterRENr() {
|
||||
// Declare variables
|
||||
var input, filter, table, tr, td, i, txtValue;
|
||||
input = document.getElementById("myInput3");
|
||||
filter = input.value.toUpperCase();
|
||||
table = document.getElementById("bodyoftable");
|
||||
tr = table.getElementsByTagName("tr");
|
||||
|
||||
// Loop through all table rows, and hide those who don't match the search query
|
||||
for (i = 0; i < tr.length; i++) {
|
||||
td = tr[i].getElementsByTagName("td")[0];
|
||||
if (td) {
|
||||
txtValue = td.textContent || td.innerText;
|
||||
if (txtValue.toUpperCase().indexOf(filter) > -1) {
|
||||
tr[i].style.display = "";
|
||||
} else {
|
||||
tr[i].style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
function filterdatvonbis() {
|
||||
// Declare variables
|
||||
var input, filter, table, tr, td, i, txtValue;
|
||||
input = document.getElementById("myInput1");
|
||||
input2 = document.getElementById("myInput2");
|
||||
filter = input.value.toUpperCase();
|
||||
filter = input2.value.toUpperCase();
|
||||
table = document.getElementById("bodyoftable");
|
||||
tr = table.getElementsByTagName("tr");
|
||||
|
||||
// Loop through all table rows, and hide those who don't match the search query
|
||||
for (i = 0; i < tr.length; i++) {
|
||||
td = tr[i].getElementsByTagName("td")[1];
|
||||
if (td) {
|
||||
txtValue = td.textContent || td.innerText;
|
||||
if (txtValue.toUpperCase().indexOf(filter) > -1) {
|
||||
tr[i].style.display = "";
|
||||
} else {
|
||||
tr[i].style.display = "none";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</asp:Content>
|
||||
|
||||
Reference in New Issue
Block a user