Revision 9acca826
Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt
SL/DB/TimeRecording.pm | ||
---|---|---|
38 | 38 |
push @errors, t8('Employee must not be empty.') if !$self->employee_id; |
39 | 39 |
push @errors, t8('Description must not be empty.') if !$self->description; |
40 | 40 |
push @errors, t8('Start time must be earlier than end time.') if $self->is_time_in_wrong_order; |
41 |
push @errors, t8('Assigned order must be a sales order.') if $self->order_id && 'sales_order' eq !$self->order->type; |
|
42 |
push @errors, t8('Customer of assigned order must match customer.') if $self->order_id && $self->order->customer_id != $self->customer_id; |
|
43 |
push @errors, t8('Customer of assigned project must match customer.') if $self->project_id && $self->project->customer_id && $self->project->customer_id != $self->customer_id; |
|
44 |
push @errors, t8('Project of assigned order must match assigned project.') |
|
45 |
if $self->project_id && $self->order_id && $self->order->globalproject_id && $self->project_id != $self->order->globalproject_id; |
|
41 | 46 |
|
42 | 47 |
my $conflict = $self->is_time_overlapping; |
43 | 48 |
push @errors, t8('Entry overlaps with "#1".', $conflict->displayable_times) if $conflict; |
locale/de/all | ||
---|---|---|
358 | 358 |
'Assign the following article to all sections' => 'Den folgenden Artikel allen Abschnitten zuweisen', |
359 | 359 |
'Assigned' => 'Zugewiesen', |
360 | 360 |
'Assigned invoices with amount' => 'Zugewiesene Rechnungen mit Betrag', |
361 |
'Assigned order must be a sales order.' => 'Zugeordneter Auftrag muss ein Verkaufsauftrag sein.', |
|
361 | 362 |
'Assignment of articles to sections' => 'Zuweisung von Artikeln zu Abschnitten', |
362 | 363 |
'Assistant for general ledger corrections' => 'Assistent für die Korrektur von Hauptbucheinträgen', |
363 | 364 |
'Assortment' => 'Sortiment', |
... | ... | |
867 | 868 |
'Customer missing!' => 'Kundenname fehlt!', |
868 | 869 |
'Customer must not be empty.' => 'Kunden darf nicht leer sein.', |
869 | 870 |
'Customer not found' => 'Kunde nicht gefunden', |
871 |
'Customer of assigned order must match customer.' => 'Kunde des zugeordneten Auftrags muss mit dem gewählten Kunden übereinstimmen.', |
|
872 |
'Customer of assigned project must match customer.' => 'Kunde des zugeordneten Projekts muss mit dem gewählten Kunden übereinstimmen.', |
|
870 | 873 |
'Customer saved' => 'Kunde gespeichert', |
871 | 874 |
'Customer saved!' => 'Kunde gespeichert!', |
872 | 875 |
'Customer specific Price' => 'Kundenpreis', |
... | ... | |
2592 | 2595 |
'Project Type' => 'Projekttyp', |
2593 | 2596 |
'Project Types' => 'Projekttypen', |
2594 | 2597 |
'Project link actions' => 'Projektverknüpfungs-Aktionen', |
2598 |
'Project of assigned order must match assigned project.' => 'Projekt des zugeordneten Auftrags muss mit dem gewählten Projekt übereinstimmen.', |
|
2595 | 2599 |
'Project picker' => 'Projektauswahl', |
2596 | 2600 |
'Project statuses' => 'Projektstatus', |
2597 | 2601 |
'Project type' => 'Projekttyp', |
locale/en/all | ||
---|---|---|
358 | 358 |
'Assign the following article to all sections' => '', |
359 | 359 |
'Assigned' => '', |
360 | 360 |
'Assigned invoices with amount' => '', |
361 |
'Assigned order must be a sales order.' => '', |
|
361 | 362 |
'Assignment of articles to sections' => '', |
362 | 363 |
'Assistant for general ledger corrections' => '', |
363 | 364 |
'Assortment' => '', |
... | ... | |
867 | 868 |
'Customer missing!' => '', |
868 | 869 |
'Customer must not be empty.' => '', |
869 | 870 |
'Customer not found' => '', |
871 |
'Customer of assigned order must match customer.' => '', |
|
872 |
'Customer of assigned project must match customer.' => '', |
|
870 | 873 |
'Customer saved' => '', |
871 | 874 |
'Customer saved!' => '', |
872 | 875 |
'Customer specific Price' => '', |
... | ... | |
2592 | 2595 |
'Project Type' => '', |
2593 | 2596 |
'Project Types' => '', |
2594 | 2597 |
'Project link actions' => '', |
2598 |
'Project of assigned order must match assigned project.' => '', |
|
2595 | 2599 |
'Project picker' => '', |
2596 | 2600 |
'Project statuses' => '', |
2597 | 2601 |
'Project type' => '', |
Auch abrufbar als: Unified diff
Zeiterfassung: mehr Validierungen beim Speichern