Question: Adding column in SALES REPORT

Adding column in SALES REPORT

Hi, Sales report with start and end date is so helpfull, but I must have a one column more. A column with PAID BY method. How to add it in report files? thanks Michael

M

Michał

Asked
Hi,
Sales report with start and end date is so helpfull, but I must have a one column more.
A column with PAID BY method.

How to add it in report files?

thanks
Michael
  • MS

    Mian Saleem

    Answered
    Hello,

    You will need to modify the report view to add the field then controller to check against that field. The sales report view file is `themes/default/admin/views/reports/sales.php` and the controller is `app/controllers/admin/Reports.php`

    Thank you
  • RJ

    Roy Joseph

    Answered
    Hi Saleem can you please elaborate your above answer , what are the changes we need to do or what we need to insert and where we need to insert in both files to get the report along with the PAID BY in the sales report
  • MS

    Mian Saleem

    Answered
    **[Roy Joseph](/u/royjm22)** Hello,

    I am sorry as I can't provide the snippet. The general guide is the documentation.pdf Please refer to it.

    Thank you
  • Login to Reply