<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
	<div class="main my-0">
        <div class="row mt-3 mx-0">
          <div class="col-md-6">
            <h3><?php echo $pgheading;?></h3>
          </div>
          <div class="col-md-5 text-right">
            &nbsp;
          </div>
        </div>
              <?php
			if($this->session->flashdata("message2")!="" && $this->session->flashdata("alerttype2")!="")
			{
         ?>
         <div class="text-center my-4">
			 <span class="alert <?php echo $this->session->flashdata("alerttype2");?>"><?php echo $this->session->flashdata("message2");?></span>
         </div>
         <?php
			}
         ?>   
        <div class="container_fluid mt-2 px-3">
		<form name="frmgeneral" method="post" action="outlet/<?php echo $mgmtname;?>/cancelorder/<?php echo encodeValue($rsrcid);?>" enctype="multipart/form-data">
		<input type="hidden" name="rsrcid" value="<?php echo $rsrcid;?>">                
        <table class="webforms mt-0 table-responsive-sm">
         <tr>
          <td>Reason for cancellation:</td>
          <td colspan="3">
			  <textarea name="cancellation_reason" id="cancellation_reason" rows="4" cols="50"><?php if($info4edit) { echo $info4edit->fld_cancellation_reason; }?></textarea>			  
          </td>
          </tr> 

         <tr>
          <td>Remarks:</td>
          <td colspan="3">
			  <textarea name="remarks" id="remarks" rows="4" cols="50"><?php if($info4edit) { echo $info4edit->fld_cancellation_remarks; }?></textarea>			  
          </td>
          </tr> 
		 <tr>
             <td></td>
             <td><button class="btn btn-danger">Submit</button></td>
         </tr>
         </table>
         </form> 
	         <div class="clearfix"></div>          
        </div>
       </div>
