Relation Helper Update

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

Recent Articles

  • Labor Cost Calculation Guide
    67
  • Customizing Ticket Statuses in Customer...
    54
  • Convert to Invoice or Expense & Create I...
    78
  • Service Appointment in Field Service
    95
  • Work Orders in Field Service
    87

Popular Articles

  • Connect your X (Twitter) account and Syn...
    3232
  • Warehouse
    2588
  • Item Settings
    2122
  • X (Twitter) Analytics
    1980
  • Plaid environment & Setup Your Bank Acco...
    1927