How to add wan connection and wan ppp to device page

I found this.
Genie 1.2.3 MikroTik devices detected, how to update the table header? - GenieACS Forum

Maybe you can modify it to meet your requirements.