Logo Add/Change logo of company

You can easily set logo of the company in invoice using setInvoiceLogo function. By default, default logo is set in config. You can directly change default logo in config also. You can also set logo using the generic function setInvoiceData for changing data.

  
                            $xinvoice = new Xinvoice();
                             // You can set invoice logo using this function or can change directly in config file.
                            $xinvoice->setInvoiceLogo("http://pdocrud.com/assets/img/PDOCrud-logo.png");    
                            echo $xinvoice->render();