?> "><?php echo $rowpayment['payment']; ?> </option> <?php } ?> </select></td> <td></td> </tr> --> <tr> <td class="label">Discounted Price:</td> <td class="input"><input type="text" name="discounted_price" id="discounted_price" value="" readonly style="width: 200px; text-align: right;"></td> <td></td> <td><span class="label">VAT:</span></td> <td class="input"><input type="text" name="vat" id="vat" value="<?php echo getVatValue(); ?> " readonly style="width: 50px; text-align: right;"></td> <td class="label">Total Amount:</td> <?php $vatable = $subtotal * getVatValue() + $subtotal; ?> <td class="input"><input type="text" name="totalamount" id="totalamount" value="<?php echo number_format($vatable, 2); ?> " readonly style="width: 200px; text-align: right;"></td> </tr> </table> </fieldset>
" readonly style="width: 50px; text-align: right;"></td> <td class="label">Total Amount:</td> <?php $vatable = $subtotal * getVatValue() + $subtotal; ?> <td class="input"><input type="text" name="totalamount" id="totalamount" value="<?php echo number_format($vatable, 2); ?> " readonly style="width: 200px; text-align: right;"></td> </tr> </table> </fieldset> </span> <p class="button"> <input type="hidden" value="<?php echo getVatValue(); ?> " name="vatValue" id="vatValue" /> <input type="hidden" value="1" name="save" /> <input type="submit" value="" name="btnsave" style="cursor: pointer;" /> <a href="#" onClick="return CancelEstimateCost();"><input type="button" value="" style="cursor: pointer;" /></a> <br /><br /> </p> </form> <script type="text/javascript"> function ValidateMe(){ var totalamnt = document.getElementById("totalamount").value; var remarks = document.getElementById("txtremarks").value; // var paymentmode = document.getElementById("paymentmode").value; var customerid = document.getElementById("customer_id").value;