Kleine Kosmetische anpassungen in der Packschein und Aufgabenansicht
This commit is contained in:
@@ -43,8 +43,8 @@ require('vendor/autoload.php');
|
|||||||
<th scope="col" style="width:6%">#</th>
|
<th scope="col" style="width:6%">#</th>
|
||||||
<th scope="col" style="width:24%">Bearbeiter</th>
|
<th scope="col" style="width:24%">Bearbeiter</th>
|
||||||
<th scope="col" style="width:40%">Aufgabe</th>
|
<th scope="col" style="width:40%">Aufgabe</th>
|
||||||
<th scope="col" style="width:15%">Zieldatum</th>
|
<th scope="col" style="width:15%">Ziel</th>
|
||||||
<th scope="col" style="width:15%">Priorität</th>
|
<th scope="col" style="width:15%">Prio</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="AufgabenTableHolder">
|
<tbody id="AufgabenTableHolder">
|
||||||
|
|||||||
@@ -21,7 +21,31 @@ $Epi = new Epirent();
|
|||||||
<script src="scripts/jquery-3.5.1.min.js"></script>
|
<script src="scripts/jquery-3.5.1.min.js"></script>
|
||||||
<link href="css/sticky-footer.css" rel="stylesheet">
|
<link href="css/sticky-footer.css" rel="stylesheet">
|
||||||
<script src="https://kit.fontawesome.com/93d71de8bc.js" crossorigin="anonymous"></script>
|
<script src="https://kit.fontawesome.com/93d71de8bc.js" crossorigin="anonymous"></script>
|
||||||
|
<style>
|
||||||
|
@media (min-width: 1800px) {
|
||||||
|
.row {
|
||||||
|
flex-wrap: nowrap; /* verhindert Umbruch */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Checkout + Checkin: je 45% */
|
||||||
|
.row > .col-sm:nth-child(1),
|
||||||
|
.row > .col-sm:nth-child(2) {
|
||||||
|
flex: 0 0 35%;
|
||||||
|
max-width: 35%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Aufgaben: 10% */
|
||||||
|
.row > .col-sm:nth-child(3) {
|
||||||
|
flex: 0 0 30%;
|
||||||
|
max-width: 30%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.table td, .table th {
|
||||||
|
padding: .25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// === PHP-Flags in JS bringen ===
|
// === PHP-Flags in JS bringen ===
|
||||||
@@ -290,7 +314,7 @@ $Epi = new Epirent();
|
|||||||
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm">
|
<div class="col-sm" style="padding: 5px !important;">
|
||||||
<h2 class="text-light">Check-Out</h2>
|
<h2 class="text-light">Check-Out</h2>
|
||||||
<div class="tableFixHead" id="checkout-scroll">
|
<div class="tableFixHead" id="checkout-scroll">
|
||||||
<table class="table table-dark mb-0" id="checkout-table">
|
<table class="table table-dark mb-0" id="checkout-table">
|
||||||
@@ -338,7 +362,7 @@ $Epi = new Epirent();
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm">
|
<div class="col-sm" style="padding: 5px !important;">
|
||||||
<h2 class="text-light">Check-In</h2>
|
<h2 class="text-light">Check-In</h2>
|
||||||
<div class="tableFixHead" id="checkin-scroll">
|
<div class="tableFixHead" id="checkin-scroll">
|
||||||
<table class="table table-dark mb-0" id="checkin-table">
|
<table class="table table-dark mb-0" id="checkin-table">
|
||||||
@@ -387,7 +411,7 @@ $Epi = new Epirent();
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm">
|
<div class="col-sm" style="padding: 5px !important;">
|
||||||
<h2 class="text-light">Aufgaben</h2>
|
<h2 class="text-light">Aufgaben</h2>
|
||||||
<div class="tableFixHead" id="aufgaben-scroll">
|
<div class="tableFixHead" id="aufgaben-scroll">
|
||||||
<table class="table table-dark mb-0" id="aufgaben-table">
|
<table class="table table-dark mb-0" id="aufgaben-table">
|
||||||
@@ -396,8 +420,8 @@ $Epi = new Epirent();
|
|||||||
<th scope="col">#</th>
|
<th scope="col">#</th>
|
||||||
<th scope="col">Bearbeiter</th>
|
<th scope="col">Bearbeiter</th>
|
||||||
<th scope="col">Aufgabe</th>
|
<th scope="col">Aufgabe</th>
|
||||||
<th scope="col">Zieldatum</th>
|
<th scope="col">Ziel</th>
|
||||||
<th scope="col">Priorität</th>
|
<th scope="col">Prio</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="AufgabenTableHolder"></tbody>
|
<tbody id="AufgabenTableHolder"></tbody>
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ function rowClassForDate(?DateTimeImmutable $markDate, ?DateTimeImmutable $today
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (UseDeliveredForCheckOutCompleted) {
|
if (UseDeliveredForCheckOutCompleted) {
|
||||||
$result = $Epi->requestEpiApi('/v1/packingnote/open?isco=False&cl=' . Epirent_Mandant);
|
$result = $Epi->requestEpiApi('/v1/packingnote/open?isci=true&cl=' . Epirent_Mandant);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$result = $Epi->requestEpiApi('/v1/packingnote/open?isci=False&cl=' . Epirent_Mandant);
|
$result = $Epi->requestEpiApi('/v1/packingnote/open?isci=False&cl=' . Epirent_Mandant);
|
||||||
|
|||||||
Reference in New Issue
Block a user