Merge pull request #12230 from grandoc/new_branch_25_10_2019

useless code
This commit is contained in:
Laurent Destailleur 2019-10-30 03:07:20 +01:00 committed by GitHub
commit d5e5cdb1a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,8 +238,9 @@ if (GETPOST('action', 'aZ09') == 'create')
dol_fiche_end(); dol_fiche_end();
/* /*
* Autres charges impayees * List of payments on donation
*/ */
$num = 1; $num = 1;
$i = 0; $i = 0;
@ -279,12 +280,12 @@ if (GETPOST('action', 'aZ09') == 'create')
print "</td>"; print "</td>";
print "</tr>\n"; print "</tr>\n";
$total+=$objp->total; /*$total+=$objp->total;
$total_ttc+=$objp->total_ttc; $total_ttc+=$objp->total_ttc;
$totalrecu+=$objp->am; $totalrecu+=$objp->am;*/ //Useless code ?
$i++; $i++;
} }
if ($i > 1) /*if ($i > 1)
{ {
// Print total // Print total
print '<tr class="oddeven">'; print '<tr class="oddeven">';
@ -294,7 +295,7 @@ if (GETPOST('action', 'aZ09') == 'create')
print "<td class=\"right\"><b>".price($total_ttc - $totalrecu)."</b></td>"; print "<td class=\"right\"><b>".price($total_ttc - $totalrecu)."</b></td>";
print '<td class="center">&nbsp;</td>'; print '<td class="center">&nbsp;</td>';
print "</tr>\n"; print "</tr>\n";
} }*/ //Useless code ?
print "</table>"; print "</table>";