Relation Helper Update

  • Last Created On Apr 17, 2024
  • 213
0 0

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


Views: 213

Recent Articles

  • History in Workflow Automation
    5
  • Permission in Workflow Automation
    0
  • Create Workflow
    5
  • Reset Data
    17
  • Add New Work Center
    13

Popular Articles

  • Warehouse
    1370
  • Item Settings
    1106
  • General Accounting Settings
    998
  • Mapping Setup
    939
  • Inventory Receiving Voucher
    814