mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 02:34:35 -04:00
Working on gateway help url
This commit is contained in:
parent
e310118bf4
commit
7a9ab624a3
@ -72,13 +72,15 @@ class Gateway extends StaticModel
|
|||||||
$link = 'https://dashboard.stripe.com/account/apikeys';
|
$link = 'https://dashboard.stripe.com/account/apikeys';
|
||||||
}
|
}
|
||||||
|
|
||||||
$key = 'texts.gateway_help_'.$this->id;
|
// $key = 'texts.gateway_help_'.$this->id;
|
||||||
$str = trans($key, [
|
// $str = trans($key, [
|
||||||
'link' => "<a href='$link' >Click here</a>",
|
// 'link' => "<a href='$link' >Click here</a>",
|
||||||
'complete_link' => url('/complete'),
|
// 'complete_link' => url('/complete'),
|
||||||
]);
|
// ]);
|
||||||
|
|
||||||
return $key != $str ? $str : '';
|
return $link;
|
||||||
|
|
||||||
|
//return $key != $str ? $str : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user