Relation Helper Update

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

Recent Articles

  • Labor Cost Calculation Guide
    33
  • Customizing Ticket Statuses in Customer...
    23
  • Convert to Invoice or Expense & Create I...
    51
  • Service Appointment in Field Service
    63
  • Work Orders in Field Service
    49

Popular Articles

  • Warehouse
    2551
  • Item Settings
    2072
  • Plaid environment & Setup Your Bank Acco...
    1871
  • General Accounting Settings
    1733
  • Connect your X (Twitter) account and Syn...
    1727