+ $bar->add_actions([ t8('Print'),
+ submit => [ '#form', { action_print => 1 } ],
+ checks => [ qw(kivi.SalesPurchase.check_transaction_description) ],
+ ]);
+ $bar->add_actions([ t8('E Mail'),
+ submit => [ '#form', { action_print => 1 } ],
+ checks => [ qw(kivi.SalesPurchase.check_transaction_description) ],
+ ]);
+ $bar->add_actions([ t8('Ship to'),
+ submit => [ '#form', { action_ship_to => 1 } ],
+ ]);
+ $bar->add_actions([ t8('History'),
+ function => [ 'set_history_window', $::form->{id} * 1, 'id' ],
+ disabled => !$::form->{id},
+ ]);
+ $bar->add_actions([ t8('Follow-Up'),
+ function => [ 'follow_up_window' ],
+ disabled => !$::form->{id},
+ ]);