Workshop Module - Installations


Installation 

Installing workshop module is a bit  tricky to get the core has to connect with module's access. So we are extending it to get it work with custom code update. Let's start with module installation.


Change in file /inventory/inquiry/stock_movements.php

label_cell(get_trans_view_str($myrow["type"], $myrow["trans_no"]), "nowrap align='right'");

label_cell(get_trans_view_str($myrow["type"], $myrow["trans_no"], $myrow["reference"]));

Change this lines into    

if($myrow['type']==ST_JOBISSUE){

     label_cell( viewer_link($myrow["trans_no"],"modules/KvcodesWorkshop/view/job_issue_view.php?trans_no=".$myrow["trans_no"]));
     label_cell( viewer_link($myrow["trans_no"],"modules/KvcodesWorkshop/view/job_issue_view.php?trans_no=".$myrow["trans_no"]));

}else{

     label_cell(get_trans_view_str($myrow["type"], $myrow["trans_no"]), "nowrap align='right'");

     label_cell(get_trans_view_str($myrow["type"], $myrow["trans_no"], $myrow["reference"]));
}

Did you find this article useful?