Below code queries the Database for PL records information and prints it on the page. I am struggling with majorly two things:
1) Printing entered start and end dates and also Company name to the page above the table. Above this "<table class="view-table" id="table">".
2) If total field is equal to 0, I want its whole row to be hidden. I cannot figure out a way to hide it.
I included screenshot of how the application works.
total.php
pl.js
pl.php