 <!-- Product Modal Basic -->
        <div class="modal fade modalbox" id="ledgaccModalBasic" tabindex="-1" role="dialog">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title">Add Ledger Account </h5>
                        <a href="javascript:;" data-dismiss="modal">Close</a>
                    </div>
                    <div class="modal-body">
     <!--  Accounts Section -->   
         <div class="section mt-1" >


    <!-- Real Content -->
    <form id="ledgeraccountsForm">

                <div id="ledgeraccRows">
<h5 class="mb-3">Basic Information</h5>
                    <!-- First Row -->
                    <div class="warehouse-row row mb-2">
                        <div class="form-group   col-md-4">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Account Name</label>
                            <input type="text" name="account_name[]" class="form-control" required>
                            </div>
                        </div>
                        <div class="form-group   col-md-2">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Account Type</label>
                            <select name="acc_type[]" class="form-control">
                                <option value="Cash">Cash</option>
                                <option value="Bank">Bank</option>
                                <option value="Stock">Stock</option>
                                <option value="Discount">Discount</option>
                                <option value="Sales Tax">sales_tax</option>
                                <option value="Other Taxes">tax</option>
                            </select>
                            </div>
                        </div>
                        <div class="form-group   col-md-3">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Category</label>
                              <select name="acc_categ[]" class="form-control">
                                <option value="cash_wallet">Cash Wallet</option>
                                <option value="bank_wallet">Bank Wallet</option>
                                <option value="expense">Expense</option>
                                <option value="customer">Customer</option>
                                <option value="warehouse">Warehouse</option>
                                <option value="sales_person">Sales person</option>
                                <option value="supplier">Supplier</option>
                            </select>
                            </div>
                        </div>
                    </div>
                    <!-- First Row -->
                    
                    <!-- Second Row -->
                    <h5 class="mb-3">Classification</h5>
                    
                    <div class="warehouse-row row mb-2">
                     
                      <div class="form-group  col-md-4">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Account Source</label>
                             <select name="acc_source[]" class="form-control">
                                    <option value="internal">Internal</option>
                                    <option value="external">External</option>
                                </select>
                            </div>
                        </div>
                        
                          <div class="form-group  col-md-4">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Entry Form</label>
                             <select name="entry_form[]" class="form-control">
                                    <option value="sales">Sales</option>
                                    <option value="prch">Purchase</option>
                                    <option value="exp">Expenses</option>
                                    <option value="bnk">Banking</option>
                                </select>
                            </div>
                        </div>
                        
                        <div class="form-group  col-md-3">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Status</label>
                             <select name="status[]" class="form-control">
                                    <option value="active">Active</option>
                                    <option value="inactive">Inactive</option>
                                </select>
                            </div>
                        </div>
                        
                        
                      </div>
                    <!-- Second Row -->
                    
                      <!-- Third Row -->
                    <h5 class="mb-3">Reporting</h5>
                    
                    <div class="warehouse-row row mb-2">
                      <div class="form-group  col-md-5">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Profit & Loss</label>
                             <select name="pnl[]" class="form-control">
                                    <option value="revenue">Revenue</option>
                                    <option value="cogs">Cost of Goods Sold</option>
                                    <option value="op_exp">Operating Expense</option>
                                    <option value="interest">Interest</option>
                                    <option value="tax">Tax</option>
                                     <option value="none">None</option>
                                </select>
                            </div>
                        </div>
                        
                        <div class="form-group  col-md-5">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Balance Sheet</label>
                             <select name="bl_sheet[]" class="form-control">
                                    <option value="current assets">Current Asset</option>
                                    <option value="fixed assets">Fixed Asset</option>
                                    <option value="current liability">Current Liability</option>
                                    <option value="fixed liability">Fixed Liability</option>
                                    <option value="owners equity">Owners Equity</option>
                                  
                                </select>
                            </div>
                        </div>
                    
                      </div>
                    <!-- Third Row -->
                    
                   
                </div>
                <div class="mt-3">
                    <button type="submit" class="btn btn-primary btn-block">
                        Add Ledger Account
                    </button>
                </div>

                <div class="form-group basic mt-2">
                    <div class="right" style="position: fixed; right: 20px; center: 20px; z-index: 9999;">
                    <div id="liveToastContainer"></div>
                </div>
                    <button type="button" id="ledgaddRow" class="btn btn-light btn-sm">
                       
                    </button>
                </div>

                

            </form>

</div>
    <!--  * Accounts Section -->
                    </div>
                </div>
            </div>
        </div>
        <!-- * Ledger Modal Basic -->
        
     <!-- *EDIT  Ledger Modal Basic -->    
        <div class="modal fade modalbox" id="editLegderModal" tabindex="-1" role="dialog">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title">Edit Ledger Accounts </h5>
                        <a href="javascript:;" data-dismiss="modal">Close</a>
                    </div>
                    <div class="modal-body">
     <!--  Accounts Section -->   
         <div class="section mt-1" >


    <!-- Real Content -->
    <form id="editLedgerForm">

<h5 class="mb-3">Basic Information</h5>
                    <!-- First Row -->
                    <div class="warehouse-row row mb-2">
                        <div class="form-group   col-md-4">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Account Name</label>
                             <input type="hidden" name="edit_Ledg_id" id="edit_Ledg_id">
                            <input type="text" name="edit_account_name"        id="edit_account_name"class="form-control" required>
                            </div>
                        </div>
                        <div class="form-group   col-md-2">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Account Type</label>
                            <select name="edit_acc_type" id="edit_acc_type" class="form-control">
                                <option value="Cash">Cash</option>
                                <option value="Bank">Bank</option>
                                <option value="Stock">Stock</option>
                                <option value="Discount">Discount</option>
                                <option value="sales_tax">Sales Tax</option>
                                <option value="tax">Other taxes</option>
                            </select>
                            </div>
                        </div>
                        <div class="form-group   col-md-3">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Category</label>
                              <select name="edit_acc_categ"                     id="edit_acc_categ"class="form-control">
                                <option value="cash_wallet">Cash Wallet</option>
                                <option value="bank_wallet">Bank Wallet</option>
                                <option value="expense">Expense</option>
                                <option value="customer">Customer</option>
                                <option value="warehouse">Warehouse</option>
                                <option value="sales_person">Sales person</option>
                                <option value="supplier">Supplier</option>
                                 <option value="journal">Journal</option>
                            </select>
                            </div>
                        </div>
                    </div>
                    <!-- First Row -->
                    
                    <!-- Second Row -->
                    <h5 class="mb-3">Classification</h5>
                    
                    <div class="warehouse-row row mb-2">
                     
                      <div class="form-group  col-md-4">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Account Source</label>
                             <select name="edit_acc_source"                    id="edit_acc_source"class="form-control">
                                    <option value="internal">Internal</option>
                                    <option value="external">External</option>
                                </select>
                            </div>
                        </div>
                        
                         <div class="form-group  col-md-4">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Entry Form</label>
                             <select name="edit_entry_form"                    id="edit_entry_form"class="form-control">
                                    <option value="sale">Sales</option>
                                    <option value="prch">Purchase</option>
                                    <option value="exp">Expenses</option>
                                    <option value="bnk">Banking</option>
                                </select>
                            </div>
                        </div>
                        
                        <div class="form-group  col-md-3">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Status</label>
                             <select name="edit_status" id="edit_status"class="form-control">
                                    <option value="active">Active</option>
                                    <option value="inactive">Inactive</option>
                                </select>
                            </div>
                        </div>
                        
                        
                      </div>
                    <!-- Second Row -->
                    
                      <!-- Third Row -->
                    <h5 class="mb-3">Reporting</h5>
                    
                    <div class="warehouse-row row mb-2">
                      <div class="form-group  col-md-5">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Profit & Loss</label>
                             <select name="edit_pnl" id="edit_pnl" class="form-control">
                                    <option value="revenue">Revenue</option>
                                    <option value="cogs">Cost of Goods Sold</option>
                                    <option value="op_exp">Operating Expense</option>
                                    <option value="non_op_exp">Non Operating Expense</option>
                                    <option value="revenue">Revenue</option>
                                    <option value="cogs">C.O.G.S</option>
                                     <option value="none">None</option>
                                </select>
                            </div>
                        </div>
                        
                        <div class="form-group  col-md-5">
                            <div class="input-wrapper">
                            <label class="label" for="name2">Balance Sheet</label>
                             <select name="edit_bl_sheet" id="edit_bl_sheet" class="form-control">
                                  <option value="current assets">Current Asset</option>
                                    <option value="fixed assets">Fixed Asset</option>
                                    <option value="current liability">Current Liability</option>
                                    <option value="non-current liability">Non-Current Liability</option>
                                    <option value="fixed liability">Fixed Liability</option>
                                    <option value="equity">Owners Equity</option>
                                 <option value="none">None</option>
                                  
                                </select>
                            </div>
                        </div>
                    
                      </div>
                    <!-- Third Row -->
                    
                    
                    
                </div>
                <div class="mt-3">
                    <button type="submit" class="btn btn-primary btn-block">
                        Edit LedgeAccount
                    </button>
                </div>

                

                

            </form>

</div>
    <!--  * Accounts Section -->
                    </div>
                </div>
            </div>
        </div>

   <!-- *EDIT  Product Modal Basic -->   