mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Debug v21
This commit is contained in:
parent
e2fa84c5ab
commit
c3dd7733e4
|
|
@ -228,7 +228,7 @@ if (!$rowid) {
|
|||
if ($servicestatus) {
|
||||
$url = 'https://dashboard.stripe.com/'.$connect.'payments/'.$charge->id;
|
||||
}
|
||||
print "<td>";
|
||||
print '<td class="tdoverflowmax150">';
|
||||
print "<a href='".$url."' target='_stripe'>".img_picto($langs->trans('ShowInStripe'), 'globe')." ".$charge->id."</a>";
|
||||
if ($charge->payment_intent) {
|
||||
print '<br><span class="opacitymedium">'.$charge->payment_intent.'</span>';
|
||||
|
|
@ -236,7 +236,7 @@ if (!$rowid) {
|
|||
print "</td>\n";
|
||||
|
||||
// Stripe customer
|
||||
print "<td>";
|
||||
print '<td class="tdoverflowmax150">';
|
||||
if (isModEnabled('stripe') && !empty($stripeacc)) {
|
||||
$connect = $stripeacc.'/';
|
||||
}
|
||||
|
|
@ -259,7 +259,7 @@ if (!$rowid) {
|
|||
print "</td>\n";
|
||||
|
||||
// Origin
|
||||
print "<td>";
|
||||
print '<td class="nowraponall">';
|
||||
if ($charge->metadata->dol_type == "order" || $charge->metadata->dol_type == "commande") {
|
||||
$object = new Commande($db);
|
||||
$object->fetch($charge->metadata->dol_id);
|
||||
|
|
@ -282,7 +282,7 @@ if (!$rowid) {
|
|||
print "</td>\n";
|
||||
|
||||
// Date payment
|
||||
print '<td class="center">'.dol_print_date($charge->created, 'dayhour')."</td>\n";
|
||||
print '<td class="center nowraponall">'.dol_print_date($charge->created, 'dayhour')."</td>\n";
|
||||
// Type
|
||||
print '<td>';
|
||||
print $type;
|
||||
|
|
@ -290,7 +290,7 @@ if (!$rowid) {
|
|||
// Amount
|
||||
print '<td class="right"><span class="amount">'.price(($charge->amount - $charge->amount_refunded) / 100, 0, '', 1, - 1, - 1, strtoupper($charge->currency))."</span></td>";
|
||||
// Status
|
||||
print '<td class="right">';
|
||||
print '<td class="nowraponall">';
|
||||
print $status;
|
||||
print "</td>\n";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user