Revision 1a83013a
Von Jan Büren vor etwa 2 Jahren hinzugefügt
SL/IR.pm | ||
---|---|---|
use SL::GenericTranslations;
|
||
use SL::HTML::Restrict;
|
||
use SL::IO;
|
||
use SL::Locale::String qw(t8);
|
||
use SL::MoreCommon;
|
||
use SL::DB::Default;
|
||
use SL::DB::TaxZone;
|
||
... | ... | |
LEFT JOIN currencies cu ON (v.currency_id = cu.id)
|
||
WHERE 1=1 $where|;
|
||
my $ref = selectfirst_hashref_query($form, $dbh, $query, @values);
|
||
die t8("Cannot find a single vendor. Maybe there is no vendor yet?") unless $ref;
|
||
|
||
map { $params->{$_} = $ref->{$_} } keys %$ref;
|
||
|
||
# use vendor currency
|
SL/IS.pm | ||
---|---|---|
use SL::DO;
|
||
use SL::GenericTranslations;
|
||
use SL::HTML::Restrict;
|
||
use SL::Locale::String qw(t8);
|
||
use SL::MoreCommon;
|
||
use SL::IC;
|
||
use SL::IO;
|
||
... | ... | |
use SL::Presenter::Part qw(type_abbreviation classification_abbreviation);
|
||
use SL::Helper::QrBillFunctions qw(get_qrbill_account assemble_ref_number);
|
||
use SL::Helper::ISO3166;
|
||
|
||
use strict;
|
||
use constant PCLASS_OK => 0;
|
||
use constant PCLASS_NOTFORSALE => 1;
|
||
... | ... | |
LEFT JOIN currencies cu ON (c.currency_id=cu.id)
|
||
WHERE 1 = 1 $where|;
|
||
$ref = selectfirst_hashref_query($form, $dbh, $query, @values);
|
||
|
||
die t8("Cannot find a single customer. Maybe there is no customer yet?") unless $ref;
|
||
delete $ref->{salesman_id} if !$ref->{salesman_id};
|
||
delete $ref->{payment_id} if !$ref->{payment_id};
|
||
|
locale/de/all | ||
---|---|---|
'Cannot delete quotation!' => 'Angebot kann nicht gelöscht werden!',
|
||
'Cannot delete transaction!' => 'Buchung kann nicht gelöscht werden!',
|
||
'Cannot delete vendor!' => 'Lieferant kann nicht gelöscht werden!',
|
||
'Cannot find a single customer. Maybe there is no customer yet?' => 'Kann keinen einzigen Kunden finden. Vielleicht gibt es noch gar keine?',
|
||
'Cannot find a single vendor. Maybe there is no vendor yet?' => 'Kann keinen einzigen Lieferanten finden. Vielleicht gibt es noch keine Lieferanten?',
|
||
'Cannot find matching template for this print request. Please contact your template maintainer. I tried these: #1.' => 'Konnte keine passende Vorlage für diesen Druckauftrag finden. Bitte benachrichtigen Sie Ihren Vorlagenadministrator. Die folgenden Pfade wurden durchsucht: #1 ',
|
||
'Cannot get shippingOrderAddressId for #1' => 'Finde das Feld shippingOrderAddressId für #1 nicht.',
|
||
'Cannot have a value in both Debit and Credit!' => 'Es kann nicht gleichzeitig Soll und Haben gebucht werden!',
|
locale/en/all | ||
---|---|---|
'Cannot delete quotation!' => '',
|
||
'Cannot delete transaction!' => '',
|
||
'Cannot delete vendor!' => '',
|
||
'Cannot find a single customer. Maybe there is no customer yet?' => '',
|
||
'Cannot find a single vendor. Maybe there is no vendor yet?' => '',
|
||
'Cannot find matching template for this print request. Please contact your template maintainer. I tried these: #1.' => '',
|
||
'Cannot get shippingOrderAddressId for #1' => '',
|
||
'Cannot have a value in both Debit and Credit!' => '',
|
Auch abrufbar als: Unified diff
Fehlermeldung bei Belegen falls Kunde oder Lieferant == 0