Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e7e7d67b

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

  • ID e7e7d67b88f3f2afb29fac5527099089cb8a075d
  • Vorgänger ca4e97fd
  • Nachfolger c5dccb51

Kosmetik/Perl-Detail Optionen als Hash anstatt array

Unterschiede anzeigen:

SL/Controller/BankTransaction.pm
691 691
        }
692 692
      }
693 693
      # Record a record link from the bank transaction to the invoice
694
      my @props = (
694
      my %props = (
695 695
        from_table => 'bank_transactions',
696 696
        from_id    => $bt_id,
697 697
        to_table   => $invoice->is_sales ? 'ar' : 'ap',
698 698
        to_id      => $invoice->id,
699 699
      );
700

  
701
      SL::DB::RecordLink->new(@props)->save;
700
      SL::DB::RecordLink->new(%props)->save;
702 701

  
703 702
      # "close" a sepa_export_item if it exists
704 703
      # code duplicated in action_save_proposals!

Auch abrufbar als: Unified diff