Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

working example for overriding outputs?

Bret Watson   ( User )

Commented 4 years ago

BTW your forums could do with a code text type...


Also it never gets to the view composer

Bret Watson   ( User )

Commented 4 years ago

ok not bleeding obvious and not shown at all in the docs but I tried


php artisan module:publish FooBar


and now things seem to be working - or at least I can find things..

Bret Watson   ( User )

Commented 4 years ago

Here is the worked example

Bret Watson   ( User )

Commented 4 years ago

Clearly links don't quite work here...


Worked axample here - it over-rides the invoice printout only


https://github.com/baradhili/Akaunting-Module_example


Not sure if you can get away with simply dropping this into your modules folder, about to find out, but you do need to do a module:publish after copying things in


 

Bret Watson   ( User )

Commented 4 years ago

OK, this seems very fragile..


I started again with a new module created.. created things the same as the FooBar code.. 


and we got back to Class does not exist error again..


 


Things I noticed - attempting module:install XXX 1 fails complaining about empty code


everything else gives no hints as to what is wrong..

Please login or register to leave a response.

Showing 11 to 15 of 15 discussions