convert_to_invoice params an Invoice::new_from(%params)
authorJan Büren <jan@kivitendo-premium.de>
Mon, 5 Oct 2015 14:46:21 +0000 (16:46 +0200)
committerJan Büren <jan@kivitendo-premium.de>
Mon, 5 Oct 2015 15:04:16 +0000 (17:04 +0200)
commit386660077eb786611dc1649d0e1617a29ffc4091
tree26b404ef35f9399a1221b80f22426bfd5501ff00
parenta2be45a1fb3e4f1ad0a906699095985b42e05ed5
convert_to_invoice params an Invoice::new_from(%params)

DeliveryOrder.pm übergab etwaige Parameter beim Aufruf von new_from
an Invoice->post(%params). Das macht für den Anwendungsfall chart_id
in 42ea98b4 Sinn (Order.pm), allerdings benötigt die convert_to_invoice in
DeliveryOrder.pm die new_from(attributes => {'custom_attr' => value })
(s.a. 20118160).
SL/DB/DeliveryOrder.pm