Undefined variable in Clients View

IP v@1.5.11

Hello everyone,

Our team is currently working on a InvoicePlane-based project.

We’ve created an ‘ip_building_sites’ table which is linked to 'ip_clients’ table. One building site is related to one client.

In clients/views/view.php, we would like to display buiding sites related to the displayed client.

So we tried to reproduce the same code as for quotes, with a ‘echo $building_site_table’, we created a building_sites folder, a ‘partial_building_site_table’ file and all stuffs… but we still have a ‘undefined building_site_table’ message error…

Any idea ? Thank you all !

Capture