diff --git a/wawi/bestellung.php b/wawi/bestellung.php
index aaaea9cc6..215941002 100644
--- a/wawi/bestellung.php
+++ b/wawi/bestellung.php
@@ -315,9 +315,7 @@ if(isset($_POST['deleteBtnStorno']) && isset($_POST['id']))
$(function() {
$( "#datepicker_bbis" ).datepicker($.datepicker.regional['de']);
});
- $(function() {
- $( "#datepicker_liefertermin" ).datepicker($.datepicker.regional['de']);
- });
+
$(document).ready(function()
{
@@ -741,7 +739,6 @@ if($aktion == 'suche')
if($status->isStatiVorhanden($bestellung_new->bestellung_id, 'Storno') || $status->isStatiVorhanden($bestellung_new->bestellung_id, 'Abgeschickt'))
{
echo "Kein Speichern mehr möglich.
";
- echo " Zurück zur Bestellung ";
}
else
{
@@ -1125,7 +1122,6 @@ if($aktion == 'suche')
$firma = new firma();
$firma->load($bestellung->firma_id);
- $liefertermin = $date->formatDatum($bestellung->liefertermin, 'd.m.Y');
$allStandorte = new standort();
$allStandorte->getStandorteWithTyp('Intern');
$status= new wawi_bestellstatus();
@@ -1163,11 +1159,11 @@ if($aktion == 'suche')
echo "
\n";
echo " | \n";
echo "Liefertermin: | \n";
- echo " | \n";
+ echo " | \n";
echo "\n";
echo "\n";
echo "| Kostenstelle: | \n";
- echo " | \n";
+ echo " | \n";
echo "Lieferadresse: | \n";
echo " |
\n";
+
+
+
echo "\n";
echo"| Tags: | \n";
$bestell_tag->GetTagsByBestellung($bestellung->bestellung_id);
@@ -1415,26 +1423,29 @@ if($aktion == 'suche')
function deleteBtnBestellt(bestellung_id)
{
$("#btn_bestellt").html();
-
+ $("btn_bestellt").empty();
$.post("bestellung.php", {id: bestellung_id, user_id: uid, deleteBtnBestellt: "true"},
function(data){
$("#btn_bestellt").html("Bestellt am: " +data);
- document.editForm.storniert.disabled=false;
+ document.editForm.storniert.disabled=true;
+ document.editForm.bestellt.disabled=true;
});
}
function deleteBtnStorno(bestellung_id)
{
- $("#btn_storniert").html();
+ $("#btn_bestellt").html();
$.post("bestellung.php", {id: bestellung_id, user_id: uid, deleteBtnStorno: "true"},
function(data){
- $("#btn_storniert").html("Storniert am: " +data);
+ $("#btn_bestellt").html("Storniert am: " +data);
document.editForm.btn_submit.disabled=true;
document.editForm.btn_abschicken.disabled=true;
+ document.editForm.storniert.disabled=true
+ document.editForm.bestellt.disabled=true
});
}
@@ -1679,7 +1690,7 @@ if($aktion == 'suche')
$aktBrutto ="0";
echo "\n";
echo "\n";
- echo "PDF erstellen";
+ echo "";
echo "
";
if($status->isStatiVorhanden($bestellung->bestellung_id, 'Abgeschickt'))