Relation Helper Update

  • Last Created On Apr 17, 2024
  • 506
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: 506

Recent Articles

  • Convert to Invoice or Expense & Create I...
    20
  • Service Appointment in Field Service
    26
  • Work Orders in Field Service
    23
  • Estimates in Field Service
    24
  • Requests in Field Service
    21

Popular Articles

  • Warehouse
    2488
  • Item Settings
    2011
  • Plaid environment & Setup Your Bank Acco...
    1794
  • General Accounting Settings
    1689
  • Mapping Setup
    1580