Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
29979a8429
@ -33,7 +33,11 @@
|
|||||||
*/
|
*/
|
||||||
abstract class CommonDocGenerator
|
abstract class CommonDocGenerator
|
||||||
{
|
{
|
||||||
var $error='';
|
/**
|
||||||
|
* @var string Error code (or message)
|
||||||
|
*/
|
||||||
|
public $error='';
|
||||||
|
|
||||||
protected $db;
|
protected $db;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -173,13 +173,14 @@ if (! $rowid) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$url='https://dashboard.stripe.com/'.$connect.'test/'.$origin.'/'.$txn->source;
|
$url='https://dashboard.stripe.com/'.$connect.'test/'.$origin.'/'.$txn->source;
|
||||||
if ($servicestatus)
|
if ($servicestatus) {
|
||||||
{
|
|
||||||
$url='https://dashboard.stripe.com/'.$connect.$origin.'/'.$txn->source;
|
$url='https://dashboard.stripe.com/'.$connect.$origin.'/'.$txn->source;
|
||||||
}
|
}
|
||||||
if ($txn->type == 'stripe_fee' || $txn->type == 'reserve_transaction') {
|
if ($txn->type == 'stripe_fee' || $txn->type == 'reserve_transaction') {
|
||||||
print "<td>".$txn->type."</td>";
|
print "<td>".$txn->type."</td>";
|
||||||
} else print "<td><a href='".$url."' target='_stripe'>".img_picto($langs->trans('ShowInStripe'), 'object_globe')." " . $txn->source . "</a></td>\n";
|
} else {
|
||||||
|
print "<td><a href='".$url."' target='_stripe'>".img_picto($langs->trans('ShowInStripe'), 'object_globe')." " . $txn->source . "</a></td>\n";
|
||||||
|
}
|
||||||
|
|
||||||
// Stripe customer
|
// Stripe customer
|
||||||
//print "<td>".$charge->customer."</td>\n";
|
//print "<td>".$charge->customer."</td>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user