Fix remove non expected column

This commit is contained in:
ldestailleur 2025-08-08 01:27:28 +02:00
parent c2f5830cd5
commit 9a66d14c80

View file

@ -1513,6 +1513,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
if (isModEnabled('stripe') && !empty($conf->stripeconnect->enabled) && !empty($stripesupplieracc)) {
print load_fiche_titre($langs->trans('StripeBalance').($stripesupplieracc ? ' (Stripe connection with StripeConnect account '.$stripesupplieracc.')' : ' (Stripe connection with keys from Stripe module setup)'), $morehtmlright, 'stripe-s');
$balance = \Stripe\Balance::retrieve(array("stripe_account" => $stripesupplieracc));
print '<!-- List of Stripe connected accounts -->'."\n";
print '<table class="liste centpercent noborder">'."\n";
print '<tr class="liste_titre">';
print '<td>'.$langs->trans('Currency').'</td>';
@ -1570,6 +1571,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
$rib_list = $object->get_all_rib();
if (is_array($rib_list)) {
print '<!-- List of bank accounts -->'."\n";
print '<div class="div-table-responsive-no-min">'; // You can use div-table-responsive-no-min if you don't need reserved height for your table
print '<table class="liste centpercent noborder">';
@ -1682,7 +1684,6 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
if (isModEnabled('prelevement')) {
// RUM
//print '<td>'.$prelevement->buildRumNumber($object->code_client, $rib->datec, $rib->id).'</td>';
print '<td class="tdoverflowmax100 small" title="'.dolPrintHTMLForAttribute($rib->rum).'">'.dolPrintHTML($rib->rum);
print '<br><span class="opacitymedium">'.dolPrintHTML($rib->frstrecur).'</span>'; // FRST or RCUR
print '</td>';
@ -1819,9 +1820,10 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
$nbremote++;
print '<tr class="oddeven">';
// Label
print '<td>';
print '</td>';
// Src ID
// External ID
print '<td class="tdoverflowmax150">';
$connect = '';
if (!empty($stripeacc)) {
@ -1837,8 +1839,10 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print $src->id;
print '</td>';
// Bank
/*
print '<td>';
print'</td>';
print '</td>';
*/
// Account number
print '<td>';
print '</td>';