Question: Change Reference To Name

Change Reference To Name

Hi, How can we change the file themes/default/views/items/view.php so that instead of "reference" it shows the name of the person who changed the stock status. I tried changing this: $chec

MH

Marc Hofman

Asked
Hi,
How can we change the file themes/default/views/items/view.php so that instead of "reference" it shows the name of the person who changed the stock status.

I tried changing this:

$check_in->reference;

to this:
$check_in->created_by;
or $check_in->updated_by;

But it doesn't work.
Any idea?

Thanks!

Didier
  • MS

    Mian Saleem

    Answered
    Hello,

    You will need to modify the `getCheckIns` and `getCheckOuts` method of `app/models/Items_model.php` to join the user table and select them.

    > We don't offer support for modification or modified versions. You are allowed to modify the item code at your own risk as per license.

    Thank you
  • MH

    Marc Hofman

    Answered
    Thanks for the answer!
    Can we pay you to do this small modification request to Items_model.php?

    Thanks!
  • MS

    Mian Saleem

    Answered
    Hello,

    You can [open ticket](/support/tickets/new) for help with code snippet.

    Thank you
  • Login to Reply