I really don't know on how to solve this problem. I'm using html2pdf library to convery my html to pdf. Okay, so I have a download button wherein the user can download the html to pdf. But I got these errors: I've also checked the closing tags in html. Thanks guys.
Spipu\Html2Pdf\Exception\HtmlParsingException: Tags are closed in a wrong order for [div] in C:\xampp\htdocs\DTR\vendor\spipu\html2pdf\src\Parsing\Html.php:262 Stack trace: #0 C:\xampp\htdocs\DTR\vendor\spipu\html2pdf\src\Parsing\Html.php(94): Spipu\Html2Pdf\Parsing\Html->getTagAction(Object(Spipu\Html2Pdf\Parsing\Token), Array) #1 C:\xampp\htdocs\DTR\vendor\spipu\html2pdf\src\Html2Pdf.php(594): Spipu\Html2Pdf\Parsing\Html->parse(Array) #2 C:\xampp\htdocs\DTR\pages\download.php(18): Spipu\Html2Pdf\Html2Pdf->writeHTML('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n...') #3 {main}
CHRD - 001 - 0
(Civil Service Form No. 48)
Daily Time Record
Sample Name
(Name)
For the month of September 16 - September 30, 2018
Official hours for arrival Regular days Monday - Friday
and departure 8 AM - 5 PM Saturdays None
Day | A.M. | P.M. | Undertime | |||
---|---|---|---|---|---|---|
Arrival | Departure | Arrival | Departure | Hours | Minutes | |
16 | 0 | 0 | ||||
17 | 07:35 AM | 12:01 PM | 12:54 PM | 05:03 PM | 0 | 0 |
18 | 07:58 AM | 12:07 PM | 12:53 PM | 05:05 PM | 0 | 0 |
19 | 0 | 0 | ||||
20 | 0 | 0 | ||||
21 | 0 | 0 | ||||
22 | 0 | 0 | ||||
23 | 0 | 0 | ||||
24 | 08:05 AM | 12:04 PM | 12:54 PM | 05:03 PM | 0 | 0 |
25 | 07:37 AM | 12:05 PM | 12:50 PM | 05:03 PM | 0 | 0 |
26 | 07:50 AM | 12:05 PM | 12:53 PM | 05:02 PM | 0 | 0 |
27 | 07:31 AM | 12:00 PM | 12:54 PM | 05:05 PM | 0 | 0 |
28 | 07:26 AM | 12:06 PM | 12:53 PM | 05:05 PM | 0 | 0 |
29 | 0 | 0 | ||||
30 | 0 | 0 |
for($i = 1; $i <= 14; $i++) {
?>
}
?>
Total00I certify on my honor that the above is a true and correct report of the hours of work performed, record of which was made daily at the time of arrival and departure from office.
___________________________________________
VERIFIED as to the prescribed office hours:
___________________________________________
In Charge:
(SEE INSTRUCTION ON BACK)
CHRD - 001 - 0
(Civil Service Form No. 48)
Daily Time Record
Sample Name
(Name)
For the month of September 16 - September 30, 2018
Official hours for arrival Regular days Monday - Friday
and departure 8 AM - 5 PM Saturdays None
Day | A.M. | P.M. | Undertime | |||
---|---|---|---|---|---|---|
Arrival | Departure | Arrival | Departure | Hours | Minutes | |
16 | 0 | 0 | ||||
17 | 07:35 AM | 12:01 PM | 12:54 PM | 05:03 PM | 0 | 0 |
18 | 07:58 AM | 12:07 PM | 12:53 PM | 05:05 PM | 0 | 0 |
19 | 0 | 0 | ||||
20 | 0 | 0 | ||||
21 | 0 | 0 | ||||
22 | 0 | 0 | ||||
23 | 0 | 0 | ||||
24 | 08:05 AM | 12:04 PM | 12:54 PM | 05:03 PM | 0 | 0 |
25 | 07:37 AM | 12:05 PM | 12:50 PM | 05:03 PM | 0 | 0 |
26 | 07:50 AM | 12:05 PM | 12:53 PM | 05:02 PM | 0 | 0 |
27 | 07:31 AM | 12:00 PM | 12:54 PM | 05:05 PM | 0 | 0 |
28 | 07:26 AM | 12:06 PM | 12:53 PM | 05:05 PM | 0 | 0 |
29 | 0 | 0 | ||||
30 | 0 | 0 |
for($i = 1; $i <= 14; $i++) {
?>
}
?>
Total00I certify on my honor that the above is a true and correct report of the hours of work performed, record of which was made daily at the time of arrival and departure from office.
___________________________________________
VERIFIED as to the prescribed office hours:
___________________________________________
In Charge:
(SEE INSTRUCTION ON BACK)