MH
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
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
- MSAnsweredHello,
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 - MHAnsweredThanks for the answer!
Can we pay you to do this small modification request to Items_model.php?
Thanks! - MSAnsweredHello,
You can [open ticket](/support/tickets/new) for help with code snippet.
Thank you - Login to Reply