• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Sep 8, 2015, 10:15 AM

    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
    • T
      Tom Elliott
      last edited by Sep 8, 2015, 11:16 AM

      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 Sep 8, 2015, 1:00 PM

        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
        • T
          Tom Elliott
          last edited by Sep 8, 2015, 1:04 PM

          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 Sep 8, 2015, 2:46 PM

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

            C 1 Reply Last reply Sep 8, 2015, 3:03 PM Reply Quote 0
            • C
              ch3i Moderator @Tomek
              last edited by Sep 8, 2015, 3:03 PM

              @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 Sep 8, 2015, 3:32 PM

                Thank you.

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

                152

                Online

                12.1k

                Users

                17.3k

                Topics

                155.3k

                Posts
                Copyright © 2012-2024 FOG Project