• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Report: Change Equipment Loan design

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    7
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Tomek
      last edited by

      Hi

      I would like to change the report design for Equipment Loan to company CD.
      Where is the location of the php file and how is it called?

      I tried to change the ReportManagement.class.php file but is still the old design when I open the report.

      My fog version: 1.2.0 (Linux system).

      Thanks a lot.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        I don’t understand. The ReportManagementPage.class.php is where the loan report is created.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • T
          Tomek
          last edited by

          Yes sorri. I changed in the file ReportManagementPage.class.php for example the organization name. But when I try to open it in Fog in the section Reports, it just says [YOUR ORGANIZATION HERE] and not my company name.

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            The method in the ReportManagementPage named equip_loan_post is where you need to change that information. I can try to make it more “neat” but right now it’s a hardcoded thing.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • T
              Tomek
              last edited by

              Is it in this location: /packages/web/lib/pages

              ch3iC 1 Reply Last reply Reply Quote 0
              • ch3iC
                ch3i Moderator @Tomek
                last edited by

                @Tomek said:

                Is it in this location: /packages/web/lib/pages

                Yep, line 1081

                $ReportMaker->appendHTML("<center><h2>"._("[YOUR ORGANIZATION HERE]")."</h2></center>" );
                
                1 Reply Last reply Reply Quote 0
                • T
                  Tomek
                  last edited by

                  Thank you.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post

                  196

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project