?> <div class="alert alert-danger">Record was not updated. Please try again.</div> <?php } else { ?> <div class="alert alert-success">Record updated successfully.</div> <?php } } $task = $_REQUEST['task']; $id = $_REQUEST['id']; if (empty($task) || empty($id)) { echo "You are not authorized to access this content."; return true; } $inventory = DhsHelper::getDistInventoryData($id); ?> <fieldset class="span8 offset2"> <legend>Edit Distributor Bill Details</legend> <form class="form-horizontal" method="post"> <input type="hidden" name="inventory_id" value="<?php echo $inventory['inventory_id']; ?> " /> <div class="control-group"> <label class="control-label" for="medicine_name">Medicine Name:</label> <div class="controls"> <input type="text" name="medicine_name" readonly="readonly" value="<?php