This commit is contained in:
Kevin Adametz 2020-02-14 10:18:44 +01:00
parent 3c0ab0f627
commit 1e8d5a31cf
98 changed files with 3716 additions and 711 deletions

View file

@ -66,19 +66,22 @@ class ShoppingPayment extends Model
public function getPaymentType(){
if($this->clearingtype == 'wlt') {
if ($this->wallettype == 'PPE') {
if($this->clearingtype === 'wlt') {
if ($this->wallettype === 'PPE') {
return 'PayPal';
}
}
if($this->clearingtype == 'cc') {
if($this->clearingtype === 'cc') {
return 'Kreditkarte';
}
if($this->clearingtype == 'vor') {
if($this->clearingtype === 'vor') {
return 'Vorkasse';
}
if($this->clearingtype == 'sb') {
if ($this->onlinebanktransfertype == 'PNT') {
if($this->clearingtype === 'elv') {
return 'SEPA Lastschrift';
}
if($this->clearingtype === 'sb') {
if ($this->onlinebanktransfertype === 'PNT') {
return 'Sofort Überweisung';
}
}