I'm working on a Laravel project that uses a feature to export tables to xls format.
I'm using Maatwebsite/Laravel-Excel v2.1 for that feature.
I need to export a table from blade view to xls file, the view looks like the image below.
It's fine in html , but when exported to xls file, some cells are missing, (see images below)
and here's the code in my blade file
<thead class="table-primary">
<tr>
<th rowspan="2" style="vertical-align: middle;">Code (UACS/PAP)</th>
<th rowspan="2" style="vertical-align: middle;">Procurement Program/Project</th>
<th rowspan="2" style="vertical-align: middle;">PMO/End-User</th>
<th rowspan="2" style="vertical-align: middle;">Mode of Procurement</th>
<th style="vertical-align: middle;" colspan="12">Actual Procurement Activity</th>
<th style="vertical-align: middle;" rowspan="2">Source of Funds</th>
<th style="vertical-align: middle;" colspan="3">ABC(PhP)</th>
<th style="vertical-align: middle;" colspan="3">Contract Cost(PhP)</th>
<th style="vertical-align: middle;" rowspan="2">List of Invited Observers</th>
<th style="vertical-align: middle;" colspan="6">Date of Receipt of Invitation</th>
<th style="vertical-align: middle;" rowspan="2">Remarks(explaining changes from the APP)</th>
</tr>
<tr>
<th style="vertical-align: middle;">Pre-Proc Conference</th>
<th style="vertical-align: middle;">Ads/Post of IB</th>
<th style="vertical-align: middle;">Pre-bid Conf</th>
<th style="vertical-align: middle;">Eligibility Check</th>
<th style="vertical-align: middle;">Sub/Open of Bids</th>
<th style="vertical-align: middle;">Bid Evaluation</th>
<th style="vertical-align: middle;">Post Qual</th>
<th style="vertical-align: middle;">Notice of Award</th>
<th style="vertical-align: middle;">Contract Signing</th>
<th style="vertical-align: middle;">Notice to Proceed</th>
<th style="vertical-align: middle;">Delivery/Completion</th>
<th style="vertical-align: middle;">Inspection & Acceptance</th>
<th style="vertical-align: middle;">Total</th>
<th style="vertical-align: middle;">MOOE</th>
<th style="vertical-align: middle;">CO</th>
<th style="vertical-align: middle;">Total</th>
<th style="vertical-align: middle;">MOOE</th>
<th style="vertical-align: middle;">CO</th>
<th style="vertical-align: middle;">Pre-bid Conf</th>
<th style="vertical-align: middle;">Eligibility Check</th>
<th style="vertical-align: middle;">Sub/Open of Bids</th>
<th style="vertical-align: middle;">Bid Evaluation</th>
<th style="vertical-align: middle;">Post Qual</th>
<th style="vertical-align: middle;">Delivery/Completion/Acceptance(if applicable)</th>
</tr>
</thead>
What would be the problem?
Thanks!
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2IBXteJ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire