Forum

Where i can change the email invoice subjet string "Invoice"

Posted in CategoryGeneral
  • Angel Cabrera    ( User ) 1 year ago

    Hi, i want to know if is possible to change the subjet string "Invoice" in email invoice. I want to put as email invoice subjet something like "You have an invoice due".


    There is any file to change it?

  • Marius Webber    ( User ) 1 year ago

    Angel I am looking into this as well. however  I did find the file that deals with the generation of the .pdf name filing. the file is "App\Http\Controllers\Incomes\Invoices.pdf"


    I would like to know what code to enter so that the invoice number is part of the pdf file name instead of the time. (which is stupid by the way)


    Line 505 is the emailed pdf


    and


    Line 567 is the downloaded pdf from the admin panel.


     


    Remember this is the file that deals with what the .pdf's are named.


    The email message file is resources\views\vendor\notifications\email.blade.php


     


    The pdf's layout file is (how pdf invoices are constructed)


    resources\views\incomes\invoices\invoice.blade.php


     


    BTW, you are not going to find much help here from the admins of this software, they obviously know where all the information is, but choose not to share it with the users. Documentations is piss poor and probably on purpose. Which is too bad because it is a great start of a invoicing and accounting software. Also notice how counter intuative the file structure is for the items imentioned above?

  • Marius Webber    ( User ) 1 year ago

    oh and one more thing, i mentioned this in another discussion, but don't you think it would be helpfull to have a search feature in this forum?

  • Angel Cabrera    ( User ) 1 year ago

    Hello Marius,

    Thanks for your help and guidance, I already reviewed the routes you gave me and I made some adjustments. Error !, I made the design of the invoice responsive, but this changed the entire layout of the invoice because the pdf library does not render the styles correctly.

    Example:

    <div class = "col-xs-12 col-sm-12 col-md-6 col-lg-7">
        
    --- Company logo
    </ div>
    <div class = "col-xs-12 col-sm-12 col-md-6 col-lg-5">
        
    --- Company info
    </ div>
    ...

    It is assumed that these adjustments repair the bad view in smarphones and tablets correctly, it looks good .... But when the PDF file is generated, everything is overwritten and scrambled because it does not correctly take the "col-lg" styles.

    It's a pity, since I've found several settings that I can perform as a front-end developer and that the creators do not respond to messages from us users does not help.

    It's a good software, I really like its structure, but you need more functions like:

    1. There is no way to see the files that you attach to the payments in the expenses.
    2. There is no way to download the operations reports.
    3. I have already translated the entire system into my language es_MX (I even opened the account in the Crowdin service) and there are several strings that are not translated or are missing from the translation variables file. I modified some translation files to integrate strings that were untranslated.
    4. And most importantly, it does not allow creating custom fields, which are very necessary to adjust to each country where it will be used.

    It is a software that could grow and position itself very well since there is not much solid competition. I'm telling you that I've tried several.


    And yes, this help forum is very abandoned and it is not configured correctly. (Urgent search engine), but also in github do not respond quickly reports made by users.

    I hope the creators heed the recommendations. Regards!

  • Angel Cabrera    ( User ) 1 year ago

    In my case at this time only can be used for internal use, to register all oparations. This is because the module for client is a mess. There no file to traduce it, you need to give to client a user and password, so is more easy that the client could access to see ttheir invoice online instead to login first. This module need more work to do too.

  • Marius Webber    ( User ) 1 year ago

    I think the developers should concentrate on giving users as much info on filestructure before starting to impliment other features. I believe since they are opening up the software for 3rd party developing apps with in it and structuring a subscription base for those apps, I am not sure they are inclined to help users, just developers where they can make money. As developers myself I hate subscription scheemes. I would rather pay for software outright.


     


    Any hoo. this project will probably fail anyway if by the looks of it. But I am starting to suspect that this software is new and may have had a rough start. I'll give it a shot on a testing platform.


    If you find the solution or files that deal with the "From" and "Subject" mail part of it let me knoow. I will inturn post any more info here as well. BTW I looked in the database and didn't find the solution there either.

  • Marius Webber    ( User ) 1 year ago

    I found the location of the file that deals with the "From" it looks like it pulls the info from line 34


    of


    /app/http/middleware/LoadSettings.php

  • Denis Duliçi    ( Admin ) 1 year ago

    Hello guys,


    Akaunting is an open source project and you're always welcome to contribute via GitHub: https://github.com/akaunting/akaunting


    Both GitHub and Forum issues are responded in time. Like all others, we were on new year holidays so yes, there was no reply in the last days.


    It's mentioned everywhere that Akaunting is based on Laravel so if you're a developer, you can quickly find from where to customize the subject:


    https://laravel.com/docs/5.4/notifications#customizing-the-subject


    If you have ideas to make Akaunting better, you're free to send them via GitHub and/or create a separate discussion for each one in the Ideas category.


    Remember this is a free and community-based project, we all have to help out where we can to improve it and make it a success.


    Regards

  • Marius Webber    ( User ) 1 year ago

    Very nice to hear from you Denis, and thank you for the info.


     


    Documentation on customization would be imensly helpfull.

  • Marius Webber    ( User ) 1 year ago

    Angel I am not familiar with Laravel if yo make sense of how and what file to change for the subject email Let me know, I would also like to add the invoice number on the subject line.

Please login or register to leave a response.