Bug 41742: (follow-up) Add pod to AddBudgetPeriod

Create a pod coverage for AddBudgetPeriod

Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Baptiste Wojtkowski 2026-09-16 13:48:03 +00:00 committed by Pedro Amorim
parent 0ae6c196ec
commit 0fc43dd5a3
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
1 changed files with 8 additions and 0 deletions

View File

@ -135,6 +135,14 @@ sub GetCols {
}
=head2 AddBudgetPeriod
Create a BudgetPeriod period with given parameters
my $rs = AddBudgetPeriod({ budget_period_startdate => $start_date, budget_period_enddate => $budget_period_enddate });
=cut
sub AddBudgetPeriod {
my ($budgetperiod) = @_;
return unless ( $budgetperiod->{budget_period_startdate} && $budgetperiod->{budget_period_enddate} );