Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my $rs = $self->schema->resultset('Voucher')->create({
- voucher_type_id => $new_values->{voucher_type_id},
- start_date => $new_values->{start_date},
- end_date => $new_values->{end_date},
- voucher_type_id => $new_values->{voucher_type_id},
- linked_product_id => $new_values->{linked_product_id},
- linked_category_id => $new_values->{linked_category_id},
- voucher_code => $new_values->{voucher_code},
- value_varchar => $new_values->{value_varchar},
- invocation_point_id => $new_values->{invocation_point_id},
- match_all_in_category => $new_values->{match_all_in_category},
- product => {
- retailer_id => $self->retailer_id,
- merchandise => {
- merchandise_name => $new_values->{merchandise_name},
- merchandise_desc => $new_values->{merchandise_desc},
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement