Adds ability to customise your InvoiceShelf instance with logo and brand color.
- Download the zip with pre-built module from the latest release in this repo. Alternatively you can build from source, for that follow the steps in the development section.
- Create
/Modules/dir in your server InvoiceShelf project root. NOTE: make sure it's capitalised like in example, it's not a typo. - Upload the
WhiteLabel.zipinto the newly created/Modules/dir. - Unzip it.
- In your server InvoiceShelf project
/root dir, runphp artisan install:module WhiteLabel <semantic release version>e.g.php artisan install:module WhiteLabel 1.1.1, please consult withpackage.jsonfor correct release version number inside the release artifact. - (optional) If you have any issues with your installed module, try clearing your browser's
cache,cookies, and/orsite data.
- Download the zip with pre-built module from the latest release in this repo. Alternatively you can build from source, for that follow the steps in the development section.
- Upload the
WhiteLabel.zipinto the newly created/Modules/dir. - Remove old
WhiteLabel/module folder. - Unzip it and visit the site.
- InvoiceShelf >= 1.3.0 (upgrade this module to 1.1.0)
This is a step by step guide on how to get started, with development.
- nvm/fnm (optional)
- Node JS:
20 LTS yarn
- Clone the InvoiceShelf repo - needed for the admin components. In the future it's likely to be just a node package and you wont need this step.
- Create
Modules/dir, in the root dir. - Clone this repo into
WhiteLabel/dir inside/Modules/. - Initialise
node_modulesby runningyarninside/of the InvoiceShelf repo. - Initialise
node_modulesby runningyarninside/Modules/WhiteLabel/of this repo. - Make the changes you wish to make.
- Run
yarn build, new/Modules/WhiteLabel/dist/dir will be created with builtcssandjsbundles. - Upload the contents of
/Modules/WhiteLabel/to your server with InvoiceShelf. Either use SFTP or zip up the folder. - Continue from Installation (Step 2)
- If your uploaded logo isn't showing up or uploading you may need to again fix the
/storage/permissions by runningchmod -R 775 storage. - If can't see a save button you need to clear your
cache,cookies, and/orsite dataas specified in Installation (Step 6)
Copyright (C) 2022-2023 <Nicolas Widart> n.widart@gmail.com
Copyright (C) 2024 <Rihards Simanovics> rihards.s@griffin-web.studio
