Revision 9cb9ed90
Von Jan Büren vor mehr als 1 Jahr hinzugefügt
| SL/BackgroundJob/ShopwareSetPaid.pm | ||
|---|---|---|
|
$shop->connector->set_orderstatus($shop_order->shop_trans_id, "paid");
|
||
|
}
|
||
|
}
|
||
|
return t8("The following Shop Orders: ") . join (', ', @shoporders) . $dry_run ? t8(" would be set to the state 'paid'") : t8(" have been set to the state 'paid'");
|
||
|
# nothing found
|
||
|
return t8("No valid invoice(s) found") if scalar @shoporders == 0;
|
||
|
|
||
|
my $message = t8("The following Shop Orders: ") . join (', ', @shoporders);
|
||
|
$message .= $dry_run ? t8(" would be set to the state 'paid'") : t8(" have been set to the state 'paid'");
|
||
|
|
||
|
return $message;
|
||
|
}
|
||
|
|
||
|
1;
|
||
Auch abrufbar als: Unified diff
Rückmeldung BJ Shopware String komplett zusammenbauen