Relation Helper Update

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);



-Line 330 update this code

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

        'id'        => $id,

        'name'      => $name,

        'link'      => $link,

        'addedfrom' => $addedfrom,

        'subtext'   => $subtext,

        'type'      => $type,

        ], $relation);


Did you find this article useful?

  • Purchase Option Setting

    Step 1.  Go to Settings menu under Purchase module from the left sidebar.Step 2. Select Purchase O...
  • Unit Setting

    Add New Units To add a new unit to your organization:Step 1. Go to Settings menu under Purchase mo...
  • Commodity Group Setting

    This data will be used for the Commodity Group combo boxAdd New Commodity Group To add a new commo...
  • Sub Groups Setting

    This data will be used for the Sub Group combo box in Add/Edit Item page. Add New Sub Group To add...
  • Approval Setting

    Create approval workflows for types: Purchase request, Purchase Order, Quotation, Payment requests...