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