<tr> <td class="tablebody" style="text-align:center;"><em>Totals:</em></td> <td class="tablebody"> <input type="text" name="total" id="total" value="<?php echo $tr; ?> " disabled="disabled" class="inputs" style="text-align:right;" /> </td> <td class="tablebody" colspan="3"> </td> </tr> <tr> <td colspan="5"> <input type="button" name="btn" id="btn" value="Add Row" style="width:100px" onclick="addRow(1)" /> <?php $dis = ""; if (!have_right('can_update') || !have_right('can_create') || $cheque_id == 0) { $dis = " disabled=\"disabled\""; } ?> <input type="button" name="Submit" id="Submit" value="Submit" style="width:100px;" onclick="doSubmit(this);"<?php echo $dis; ?> /> <?php if ($cheque_id == 0) { ?> <span id="cshd" class="dnote">Cheque Voucher disabled as no Cheque in Hand selected</span><?php } ?> </td> </tr>
" disabled="disabled" class="inputs" style="text-align:right;" /> </td> <td class="tablebody"> <input type="text" name="total4" id="total4" value="<?php echo $tp; ?> " disabled="disabled" class="inputs" style="text-align:right;" /> </td> <td class="tablebody"> </td> </tr> <tr> <td colspan="5"> <input type="button" name="btn" id="btn" value="Add Row" style="width:100px" onclick="addRow(1)" /> <?php $dis = ""; if (!have_right('can_update') || !have_right('can_create')) { $dis = " disabled=\"disabled\""; } ?> <input type="button" name="Submit" id="Submit" value="Submit" style="width:100px;" onclick="javascript:doSubmit(this);"<?php echo $dis; ?> /> </td> </tr> </tfoot> </table> <input type="hidden" name="counter" id="counter" value="0" /> </form> </div> </div>
</tfoot> </table> <input type="hidden" name="oper" id="oper" value="<?php if (isset($_GET['sales_return_id'])) { echo "update"; } else { echo "add"; } ?> " /> <input type="hidden" name="counter" id="counter" value="0" /> <input type="hidden" name="totalSum" id="totalSum" value="0" /> <input type="hidden" name="totalSale" id="totalSale" value="0" /> <input type="hidden" name="totalTax" id="totalTax" value="0" /> </form> <input type="hidden" name="have_right_update" id="have_right_update" value="<?php echo have_right('can_update'); ?> " /> </div> </div> </div> </div> <div> <?php include '../includes/footer.php'; ?> </div> </div> </body> </html>
" disabled="disabled" class="inputs" style="text-align:right;" /> </td> <td class="tablebody"> <input type="text" name="total4" id="total4" value="<?php echo $tp; ?> " disabled="disabled" class="inputs" style="text-align:right;" /> </td> <td class="tablebody"> </td> </tr> <tr> <td colspan="5"> <input type="button" name="btn" id="btn" value="Add Row" style="width:100px" onclick="addRow(1)" /> <?php $dis = ""; if (!have_right('can_update') || !have_right('can_create') || strlen($v_ch_id) < 1) { $dis = " disabled=\"disabled\""; } ?> <!-- Add by Khurram Naseem on Apr-30-2013! --> <?php $dis = ""; if ($v_is_active == 'No') { $dis = " disabled=\"disabled\""; } ?> <input type="button" name="Submit" id="Submit" value="Submit" style="width:100px;" onclick="doSubmit(this);"<?php echo $dis; ?> /> <?php
<tr> <td class="tablebody" style="text-align:center;"><em>Totals:</em></td> <td class="tablebody"> <input type="text" name="total2" id="total2" value="<?php echo $qty; ?> " disabled="disabled" class="inputs" style="text-align:right;" /> </td> <td class="tablebody"> </td> </tr> <tr> <td colspan="6"> <input type="button" name="btn" id="btn" value="Add Row" style="width:100px" onclick="addRow(1)" /> <?php $dis = ""; if (isset($_GET['order_id']) && !have_right('can_update') || !isset($_GET['order_id']) && !have_right('can_create')) { $dis = " disabled=\"disabled\""; } ?> <input type="button" name="Submit" id="Submit" value="Submit" style="width:100px;" onclick="javascript:doSubmit(this);"<?php echo $dis; ?> /><?php if (isset($_GET['order_id'])) { ?> <input type="button" name="NewRecord" id="NewRecord" value="New Record" style="width:100px;" onclick="javascript:document.location.href='../transaction/order.php';" /><?php } ?> </td> </tr> </tfoot>
</td> <td class="tablebody"> </td> <td class="tablebody tdhide"> </td> <td class="tablebody"> <input type="text" name="total4" id="total4" value="<?php echo $amt; ?> " disabled="disabled" style="text-align:right;" class="inputs" /> </td> </tr> <tr> <td colspan="6"> <input type="button" name="btn" id="btn" value="Add Row" style="width:100px" onclick="addRow(1)" /> <?php $dis = ""; if (isset($_GET['sales_return_id']) && !have_right('can_update') || !isset($_GET['sales_return_id']) && !have_right('can_create')) { $dis = " disabled=\"disabled\""; } ?> <input type="button" name="Submit" id="Submit" value="Submit" style="width:100px;" onclick="javascript:doSubmit(this);"<?php echo $dis; ?> /><?php if (isset($_GET['sales_return_id'])) { ?> <input type="button" name="NewRecord" id="NewRecord" value="New Record" style="width:100px;" onclick="javascript:document.location.href='../transaction/sales_return.php';" /><?php } ?> </td> </tr> </tfoot>
<li><a id="apm-action-all-publish" href="#"><?php _e('Publish', ApmConfig::i18n_domain); ?> </a></li> <li><a id="apm-action-all-unpublish" href="#"><?php _e('Unpublish', ApmConfig::i18n_domain); ?> </a></li> <li><a id="apm-action-all-models" href="#"><?php _e('Change Template', ApmConfig::i18n_domain); ?> </a></li> <?php if (have_right()) { ?> <li><a id="apm-action-all-delete" href="#"><?php _e('Delete', ApmConfig::i18n_domain); ?> </a></li> <?php } ?> </ul> </div> </div> <!-- Pagination --> <?php
<tr> <td class="tablebody" style="text-align:center;"><em>Totals:</em></td> <td class="tablebody"> <input type="text" class="inputs" name="total2" id="total2" value="<?php echo $qty; ?> " disabled="disabled" style="text-align:right;" /> </td> <td class="tablebody" colspan="3"> </td> </tr> <tr> <td colspan="6"> <input type="button" name="btn" id="btn" value="Add Row" style="width:100px" onclick="addRow(1)" /> <?php $dis = ""; if (isset($_GET['godown_transfer_id']) && !have_right('can_update') || !isset($_GET['godown_transfer_id']) && !have_right('can_create')) { $dis = " disabled=\"disabled\""; } ?> <input type="button" name="Submit" id="Submit" value="Submit" style="width:100px;" onclick="javascript:doSubmit(this);"<?php echo $dis; ?> /><?php if (isset($_GET['godown_transfer_id'])) { ?> <input type="button" name="NewRecord" id="NewRecord" value="New Record" style="width:100px;" onclick="javascript:document.location.href='../transaction/godown_transfer.php';" /><?php } ?> </td> </tr> </tfoot>