<head>

</head>

<?php include('../include/wait.php') ?>

<body onLoad="MM_showHideLayers('wait','','hide')" onFocus="MM_showHideLayers('wait','','hide');"  onBlur="MM_showHideLayers('wait','','hide');">
<div class="page_middle_frame">
<form id="feedbackform" method="get" action="deliverWiz6.php" >
      <div class="wizard_frame"> Product details
                <table width="645" id="table_details_display">
                <tr>
                  <td width="123"><span class="wizard">Product /stock item:</span></td>
                  <td width="205"><strong><span class="wizard"><?php echo $_SESSION['store_item_name'] ?></span></strong></td>
                  <td width="109">Cost:</td>
                  <td width="213"><?php echo number_format($_SESSION['price'], 2, '.', ',') ?></td>
                </tr>
                <tr>
                  <td>Store:</td>
                  <td><?php echo  $_SESSION['category'] ?></td>
                  <td>Department:</td>
                  <td><?php echo $_SESSION['subCategory'] ?></td>
                </tr>
                <tr>
                  <td>Delivered:</td>
                  <td><?php echo $_SESSION['quantity'] ?></td>
                  <td>&nbsp;</td>
                  <td>&nbsp;</td>
                </tr>
              </table>
            </div>
       
      <div class="wizard_frame">Delivery details
        <table width="645" id="table_details_display">
                  <tr>
                    <td width="123">Delivered to :</td>
                    <td width="205"><?php if ($_SESSION['selected']=="department") { echo $_SESSION['department'] ;} ?>
                    <?php if ($_SESSION['selected']=="employee") { echo $_SESSION['employee_name'];} ?></td>
                    <td width="109">Order no.:</td>
                    <td width="213"><?php echo $_SESSION['order_no'] ?></td>
                  </tr>
                  <tr>
                    <td>Deliver date:</td>
                    <td><?php echo date("d-m-Y", strtotime( $_SESSION['receiveDate'] ))?></td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
        </table>
    </div>
<br />

            <div class="wizard_frame">
              <input name="s" type="hidden" id="s" value="4" />
              <input name="p" type="hidden" id="p" value="4" />
              <label class="label_std">If you want to make changes use the 'Prev' button to go back. <br />
              Click 'New' to make a new entry or to finish the wizard click 'Finish'.</label>
            </div> <br>
<br>
 
            <div class="button_bar_frame">
              <table width="590" height="50" align="center" id="table_button_bar">
                <tr>
                  <td width="117"><input type="button" name="lastprev_button" class="imagebutton" value="Prev" onClick="needToConfirm = false;  MM_goToURL('parent','deliverWizbase.php?s=4&p=3'); return document.MM_returnValue; MM_showHideLayers('wait','','show');"  tabindex="-1"/></td>
                  <td width="115">&nbsp;</td>
                  <td width="99"><input name="cancelbutton" type="button" class="imagebutton" id="cancelbutton" onClick="javascript:cancel_confirmation(1, '../store/store_main.php');; needToConfirm = false; MM_showHideLayers('wait','','show');" value="Cancel"  tabindex="-1" /></td>
                  <td width="125"><input type="submit" name="new_button" class="imagebutton" id="new_button" value="New" onClick="needToConfirm = false; MM_showHideLayers('wait','','show');"  tabindex="2"/></td>
                  <td width="110"><input  name="finish_button" type="submit" class="imagebutton" id="finish_button" value="Finish" onClick="needToConfirm = false; MM_showHideLayers('wait','','show');"  tabindex="1" /></td>
                </tr>
              </table>
    </div>
 
</form>
</div>

