Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a8209e39

Von Jan Büren vor etwa 3 Jahren hinzugefügt

  • ID a8209e39ae03d7da73c919306242666cc5ca7981
  • Vorgänger e8e9592c
  • Nachfolger 0168b03c

VK-Rechnung: ActionButtons direkt ausgrauen, falls die Aktion nicht erlaubt ist

Unterschiede anzeigen:

bin/mozilla/is.pl
338 338
          checks   => [ 'kivi.validate_form' ],
339 339
          disabled => !$may_edit_create   ? t8('You must not change this invoice.')
340 340
                    : !$form->{id}        ? t8('This invoice has not been posted yet.')
341
                    : $form->{storno}     ? t8('Cannot storno storno invoice!')
342
                    : $form->{locked}     ? t8('The billing period has already been locked.')
341 343
                    : !$payments_balanced ? t8('Cancelling is disallowed. Either undo or balance the current payments until the open amount matches the invoice amount')
342 344
                    : undef,
343 345
        ],
......
374 376
          disabled => !$may_edit_create              ? t8('You must not change this invoice.')
375 377
                    : $form->{type} eq "credit_note" ? t8('Credit notes cannot be converted into other credit notes.')
376 378
                    : !$form->{id}                   ? t8('This invoice has not been posted yet.')
379
                    : $form->{storno}                ? t8('A canceled invoice cannot be used. Please undo the cancellation first.')
377 380
                    :                                  undef,
378 381
        ],
379 382
        action => [

Auch abrufbar als: Unified diff