Fixed recurring purchase entry
This commit is contained in:
parent
79324ff5f7
commit
d937e64663
19 changed files with 7421 additions and 2 deletions
|
@ -188,7 +188,6 @@ sub post_upload {
|
|||
my $category = $validation->param('category');
|
||||
my $essential = $validation->param('essential');
|
||||
my $recurring_period = $validation->param('recurring');
|
||||
Dwarn $recurring_period;
|
||||
my $distance = $c->get_distance_from_coords( $user->entity->type_object, $organisation );
|
||||
|
||||
my $new_transaction = $organisation->entity->create_related(
|
||||
|
|
|
@ -6,7 +6,7 @@ use warnings;
|
|||
|
||||
use base 'DBIx::Class::Schema';
|
||||
|
||||
our $VERSION = 25;
|
||||
our $VERSION = 27;
|
||||
|
||||
__PACKAGE__->load_namespaces;
|
||||
|
||||
|
|
|
@ -25,6 +25,8 @@ __PACKAGE__->add_columns(
|
|||
},
|
||||
);
|
||||
|
||||
__PACKAGE__->set_primary_key("id");
|
||||
|
||||
__PACKAGE__->add_unique_constraint(["transaction_id"]);
|
||||
|
||||
__PACKAGE__->belongs_to(
|
||||
|
|
Reference in a new issue