Relation Helper Update

Purchase Management BuildX



In file application/helpers/relation_helper.php update line 144 with script:   

$data = hooks()->apply_filters('get_relation_data', $data, compact('type', 'rel_id', 'extra'), $q);

1.png

-Line 330 update this code

return hooks()->apply_filters('relation_values', [

        'id'        => $id,

        'name'      => $name,

        'link'      => $link,

        'addedfrom' => $addedfrom,

        'subtext'   => $subtext,

        'type'      => $type,

        ], $relation);

2.png

 

Did you find this article useful?

  • Purchase Option Setting

    Purchase Management BuildX Step 1.  Go to Settings menu under Purcha...
  • Unit Setting

    Purchase Management BuildX Add New Units  To add a new unit to your organization: S...
  • Commodity Group Setting

    Purchase Management BuildX This data will be used for the Commodity Group combo box Add New...
  • Sub Groups Setting

    Purchase Management BuildX This data will be used for the Sub Group combo box in Add/Edit Item page...
  • Approval Setting

    Purchase Management BuildX Create approval workflows for types: Purchase request, Purchase Or...