Home Forums Support New column to invoices table

This topic contains 1 reply, has 1 voice, and was last updated by  Yoal Madriz 1 month, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16834

    Yoal Madriz
    Participant

    Hi, I added a new column to the invoices table, I need to see it in the API but I don’t find where I need to add it, I already looked into InvoiceRepository.php and added it in getInvoices function but that don’t seem to work. Any guidance will be greatly appreciated.

    Cheers!

    #16836

    Yoal Madriz
    Participant

    Just in case someone else in looking into how to do this as well, you need to add these fields in /app/Ninja/Transformers/InvoiceTransformer.php and /app/Ninja/Repositories/InvoiceRepository.php in the save function to be able to save them.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Posted in: