Skip to content

Version 3.1.0 - Custom Views

Compare
Choose a tag to compare
@shivampaw shivampaw released this 24 Nov 18:34

This version allows you to customise the views that are used and only does a lot of refactoring and other small additions.

Custom Views

If you want to edit the display of the "views" then you can do so by adding the files in the resources/customViews/ directory. For example, if you place a file in resources/customViews/emails/invoices/new.blade.php that file will be used when emailing the client about a new invoice instead of the default in resources/views/emails/invoices/new.blade.php. You can therefore edit all the views that come with UltimateCRM by default.

Refactoring

  • All the models have been moved into a folder in /app/Models/ instead of just being in the /app/ directory.
  • Change the $client->full_name to $client->name
  • The public/project_files folder and the resources/customViews folder are not gitignored, now only the files in them are gitignored.

More Configuration

  • The currency used by the /app/helpers.php@formatInvoiceTotal method can be customised in the .env file.

Testing

  • PHPUnit test now tries to create a user and delete that user. It does this in a "memorised" sqlite database so your main database isn't affected.