self.close(); " ; die;} $invoice=new rent_invoice($id); $invoice->gen_invoice();