Update charge.php

Charges can be done on different stripe account, even if doli thirdparty is same (if thirdparty has changed it stripe account). So keeping it in list seems usefull.
This commit is contained in:
Laurent Destailleur
2018-09-12 18:51:03 +02:00
committed by GitHub
parent 9efa3816c3
commit 71e4378bd2

View File

@@ -96,7 +96,7 @@ if (!$rowid)
print '<TR class="liste_titre">';
print_liste_field_titre("Ref",$_SERVER["PHP_SELF"],"","","","",$sortfield,$sortorder);
//print_liste_field_titre("StripeCustomerId",$_SERVER["PHP_SELF"],"","","","",$sortfield,$sortorder);
print_liste_field_titre("StripeCustomerId",$_SERVER["PHP_SELF"],"","","","",$sortfield,$sortorder);
print_liste_field_titre("Customer",$_SERVER["PHP_SELF"],"","","","",$sortfield,$sortorder);
print_liste_field_titre("Origin",$_SERVER["PHP_SELF"],"","","","",$sortfield,$sortorder);
print_liste_field_titre("DatePayment",$_SERVER["PHP_SELF"],"","","",'align="center"',$sortfield,$sortorder);
@@ -155,7 +155,7 @@ if (!$rowid)
}
print "<TD><a href='".$url."' target='_stripe'>".img_picto($langs->trans('ShowInStripe'), 'object_globe')." ".$charge->id."</a></TD>\n";
// Stripe customer
//print "<TD>".$charge->customer."</TD>\n";
print "<TD>".$charge->customer."</TD>\n";
// Link
print "<TD>";
if ($societestatic->id > 0)
@@ -165,7 +165,7 @@ if (!$rowid)
elseif ($memberstatic->id > 0)
{
print $memberstatic->getNomUrl(1);
} else print $charge->customer;
}
print "</TD>\n";
// Origine
print "<TD>";