';
if (! empty($conf->stripe->enabled) && !empty($stripeacc)) $connect=$stripeacc.'/';
@@ -158,9 +158,9 @@ if (!$rowid)
{
$url='https://dashboard.stripe.com/'.$connect.'payments/'.$charge->id;
}
- print "| ".img_picto($langs->trans('ShowInStripe'), 'object_globe')." ".$charge->id." | \n";
+ print "".img_picto($langs->trans('ShowInStripe'), 'object_globe')." ".$charge->id." | \n";
// Stripe customer
- print "";
+ print " | ";
if (! empty($conf->stripe->enabled) && !empty($stripeacc)) $connect=$stripeacc.'/';
$url='https://dashboard.stripe.com/'.$connect.'test/customers/'.$charge->customer;
@@ -168,11 +168,11 @@ if (!$rowid)
{
$url='https://dashboard.stripe.com/'.$connect.'customers/'.$charge->customer;
}
- print ' '.img_picto($langs->trans('ShowInStripe'), 'object_globe').' '.$charge->customer.'';
+ print ''.img_picto($langs->trans('ShowInStripe'), 'object_globe').' '.$charge->customer.'';
- print " | \n";
+ print "\n";
// Link
- print "";
+ print " | ";
if ($societestatic->id > 0)
{
print $societestatic->getNomUrl(1);
@@ -181,27 +181,27 @@ if (!$rowid)
{
print $memberstatic->getNomUrl(1);
}
- print " | \n";
+ print "\n";
// Origine
- print "";
+ print " | ";
if ($charge->metadata->dol_type=="order"){
$object = new Commande($db);
$object->fetch($charge->metadata->dol_id);
if ($object->id > 0) {
- print "".img_picto('', 'object_order')." ".$object->ref."";
+ print "".img_picto('', 'object_order')." ".$object->ref."";
} else print $FULLTAG;
} elseif ($charge->metadata->dol_type=="invoice"){
$object = new Facture($db);
$object->fetch($charge->metadata->dol_id);
if ($object->id > 0) {
- print "".img_picto('', 'object_invoice')." ".$object->ref."";
+ print "".img_picto('', 'object_invoice')." ".$object->ref."";
} else print $FULLTAG;
} else print $FULLTAG;
- print " | \n";
+ print "\n";
// Date payment
- print ''.dol_print_date($charge->created,'%d/%m/%Y %H:%M')." | \n";
+ print ''.dol_print_date($charge->created,'%d/%m/%Y %H:%M')." | \n";
// Type
- print '';
+ print ' | ';
if ($charge->source->object=='card')
{
print $langs->trans("card");
@@ -211,11 +211,11 @@ if (!$rowid)
} elseif ($charge->source->type=='three_d_secure'){
print $langs->trans("card3DS");
}
- print ' | ';
+ print '';
// Amount
- print "".price(($charge->amount-$charge->amount_refunded)/100, 0, '', 1, - 1, - 1, strtoupper($charge->currency))." | ";
+ print "".price(($charge->amount-$charge->amount_refunded)/100, 0, '', 1, - 1, - 1, strtoupper($charge->currency))." | ";
// Status
- print '';
+ print ' | ';
if ($charge->refunded=='1'){
print img_picto($langs->trans("refunded"),'statut6');
} elseif ($charge->paid=='1'){
@@ -228,9 +228,9 @@ if (!$rowid)
$label.="Statut: ".$langs->trans("".$charge->outcome->seller_message."");
print $form->textwithpicto(img_picto($langs->trans("".$charge->status.""),'statut8'),$label,1);
}
- print " | \n";
+ print "\n";
- print "
\n";
+ print "\n";
}
} else {