Skip to content
Snippets Groups Projects
Commit e7a59ab0 authored by mattwire's avatar mattwire
Browse files

Add custom fields for payout amount/currency

parent 0f55f6b7
No related branches found
No related tags found
1 merge request!217Implement Stripe Checkout (with support for SEPA and ACH)
......@@ -99,5 +99,89 @@ if (!empty($customGroup)) {
],
],
],
[
'name' => 'CustomGroup_Payment_details_CustomField_payout_amount',
'entity' => 'CustomField',
'cleanup' => 'never',
'update' => 'unmodified',
'params' => [
'version' => 4,
'values' => [
'custom_group_id.name' => 'Payment_details',
'name' => 'payout_amount',
'label' => 'Payout Amount',
'data_type' => 'Money',
'html_type' => 'Text',
'default_value' => NULL,
'is_required' => FALSE,
'is_searchable' => TRUE,
'is_search_range' => FALSE,
'help_pre' => NULL,
'help_post' => NULL,
'attributes' => NULL,
'javascript' => NULL,
'is_active' => TRUE,
'is_view' => FALSE,
'options_per_line' => NULL,
'text_length' => 255,
'start_date_years' => NULL,
'end_date_years' => NULL,
'date_format' => NULL,
'time_format' => NULL,
'note_columns' => 60,
'note_rows' => 4,
'column_name' => 'payout_amount',
'option_group_id' => NULL,
'serialize' => 0,
'filter' => NULL,
'in_selector' => FALSE,
],
'match' => [
'name',
],
],
],
[
'name' => 'CustomGroup_Payment_details_CustomField_payout_currency',
'entity' => 'CustomField',
'cleanup' => 'never',
'update' => 'unmodified',
'params' => [
'version' => 4,
'values' => [
'custom_group_id.name' => 'Payment_details',
'name' => 'payout_currency',
'label' => 'Payout Currency',
'data_type' => 'String',
'html_type' => 'Text',
'default_value' => NULL,
'is_required' => FALSE,
'is_searchable' => FALSE,
'is_search_range' => FALSE,
'help_pre' => NULL,
'help_post' => NULL,
'attributes' => NULL,
'javascript' => NULL,
'is_active' => TRUE,
'is_view' => FALSE,
'options_per_line' => NULL,
'text_length' => 255,
'start_date_years' => NULL,
'end_date_years' => NULL,
'date_format' => NULL,
'time_format' => NULL,
'note_columns' => 60,
'note_rows' => 4,
'column_name' => 'payout_currency',
'option_group_id' => NULL,
'serialize' => 0,
'filter' => NULL,
'in_selector' => FALSE,
],
'match' => [
'name',
],
],
],
];
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment