<br /> <table id="approveContent"> <tbody> <tr> <td><label>Issued and Received by </label></td> <?php if ($production->getIssuer() != null) { echo "<td>" . $production->prepareIssuer() . "</td>"; } else { echo "<td id=\"issuer\"><input type=\"button\" value=\"Sign Here\" class=\"signHere\" /></td>"; } ?> </td><td><label>Date </label> <?php if ($production->getIssuer_date() != null) { echo $production->prepareIssuer_date("j F Y"); } else { echo "<input type=\"text\" id=\"issDate\" class=\"datepicker\"></input>"; } ?> </td> </tr> </table> <?php if ($production->getStatus() == 'pending') { if (!$hideCancel) { echo "<input type=\"button\" id=\"cancelBTN\" value=\"Cancel\" style=\"float: right;\"/>"; } echo "<input type=\"button\" id=\"submitBTN\" value=\"Submit\" style=\"float: right;\"/>"; } $me = fAuthorization::getUserToken();