<?php  echo '<div class="mainForm">
                <form action="storeInvoice.php" method="post">
                    <input type="hidden" name="customer_id" value="'.$_GET['id'].'">
                    <div class="leftForm">
                    <table>    
                        <tr><td>Invoice Number:</td><td><input required type="text" name="invoice_number" value="" id="Item" size="20"></td></tr>

                        <tr><td>Invoice Date:</td><td><input required type="text" name="invoice_date" class="" id="datepicker1" size="20" ></td></tr>

                        <tr><td>Due Date :</td><td><input required type="text" name="due_date" class="" id="datepicker2" ></td></tr>

                        <tr><td>Paid</td><td><select required name="paid">
                            <option value="1">Paid</option>
                            <option value="0" selected="selected" >Unpaid</option></select></td></tr>
                        <tr>
                            <td>One Time  : <input checked="checked" required type="radio" name="recurring" value="0" ></td>
                            <!--<td>Recurring : <input required type="radio" name="recurring" value="1" ></td>-->
                        </tr>
                        
                    </table>
                   
                    <center>
                        <table width=100% id="invoiceTable" >
                        <tr>
                           
                            <td>
                                <strong>Item Description</strong>
                            </td>

                            <td>
                                <strong>Quantity</strong>
                            </td>

                            <td>
                                <strong>Item Charge</strong>
                            </td>

                            <td>
                                <strong>Extended Charge</strong>
                            </td>
                            <td>
                                <strong>Action</strong>
                            </td>
                        </tr>
                        <tr class="appendInvoice">
                            <td colspan="8"><hr /></td>
                        </tr>
                        <tr>
                            <td width=10%>
                                <input required type="text" name="itemdesc[]" id="Item" size="10" >
                            </td>
                            <td width=10%>
                                <input required type="text" class="quantity" data-id="0" name="quantity[]" id="quantity0" onkeypress="return isNumberKey(event)" size="10" >
                            </td>
                            <td width=10%>
                                <input required type="text" class="itemcharge" data-id="0" name="itemcharge[]" onkeypress="return isNumberKey(event)" id="itemcharge0" size="10" >
                            </td>
                            <td width=10%>
                                <input required type="text" id="extendedcharge0" onkeypress="return isNumberKey(event)" class="extendedcharge" readonly name="extendedcharge[]" id="Item" size="10" >
                            </td>
                            <td colspan="2" style="text-align:center";>
                                <a class="" onclick="return addRow();" id="save-button" >Add More</a>
                            </td>
                        <tr>
                    </tr>
                        </tr>
                        <tr class="addfunc"></tr>
                        <tr>
                            <td colspan="4"></td>
                        </tr>
                        </table>
                        </table>
                    </center>
                    <tr>
                        <td colspan="6">
                            Invoice Total:- <br>
                            <input required readonly id="invoicetotal" type="text" size="10" name="invoice_total" value="" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input id="save-button" type="submit" name="edit" value="SAVE" />
                        </td>
                    </tr>
                </div>
            </div>';
?>
