Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
justinfreeman (Agileware)
Core
Commits
ab3a115e
Commit
ab3a115e
authored
11 years ago
by
Kurund Jalmi
Browse files
Options
Downloads
Patches
Plain Diff
worked on CRM-12964, added option group for name_badge
parent
9ed389f5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sql/civicrm_generated.mysql
+31
-31
31 additions, 31 deletions
sql/civicrm_generated.mysql
xml/templates/civicrm_data.tpl
+7
-2
7 additions, 2 deletions
xml/templates/civicrm_data.tpl
with
38 additions
and
33 deletions
sql/civicrm_generated.mysql
+
31
−
31
View file @
ab3a115e
This diff is collapsed.
Click to expand it.
xml/templates/civicrm_data.tpl
+
7
−
2
View file @
ab3a115e
...
...
@@ -204,7 +204,8 @@ VALUES
('auto_renew_options' , '
{
ts
escape
=
"sql"
}
Auto Renew Options
{/
ts
}
' , 1, 1),
('financial_account_type' , '
{
ts
escape
=
"sql"
}
Financial Account Type
{/
ts
}
' , 1, 1),
('financial_item_status' , '
{
ts
escape
=
"sql"
}
Financial Item Status
{/
ts
}
' , 1, 1),
('label_type' , '
{
ts
escape
=
"sql"
}
Label Type
{/
ts
}
' , 1, 1);
('label_type' , '
{
ts
escape
=
"sql"
}
Label Type
{/
ts
}
' , 1, 1),
('name_badge' , '
{
ts
escape
=
"sql"
}
Name Badge Format
{/
ts
}
' , 1, 1);
SELECT @option_group_id_pcm := max(id) from civicrm_option_group where name = 'preferred_communication_method';
SELECT @option_group_id_act := max(id) from civicrm_option_group where name = 'activity_type';
...
...
@@ -278,6 +279,7 @@ SELECT @option_group_id_aro := max(id) from civicrm_option_group where name = 'a
SELECT @option_group_id_fat := max(id) from civicrm_option_group where name = 'financial_account_type';
SELECT @option_group_id_financial_item_status := max(id) from civicrm_option_group where name = 'financial_item_status';
SELECT @option_group_id_label_type := max(id) from civicrm_option_group where name = 'label_type';
SELECT @option_group_id_name_badge := max(id) from civicrm_option_group where name = 'name_badge';
SELECT @contributeCompId := max(id) FROM civicrm_component where name = 'CiviContribute';
...
...
@@ -872,7 +874,10 @@ VALUES
-- Label Type
(@option_group_id_label_type, '
{
ts
escape
=
"sql"
}
Event Badge
{/
ts
}
', 1, 'Event Badge', NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL),
-- Label Formats
-- Name Label format
(@option_group_id_name_badge, '
{
ts
escape
=
"sql"
}
Avery 5395
{/
ts
}
', '
{
literal
}{
"name"
:
"Avery 5395"
,
"paper-size"
:
"A4"
,
"metric"
:
"mm"
,
"lMargin"
:
13.5
,
"tMargin"
:
3
,
"NX"
:
2
,
"NY"
:
4
,
"SpaceX"
:
15
,
"SpaceY"
:
8.5
,
"width"
:
85.7
,
"height"
:
59.2
,
"font-size"
:
12
}{/
literal
}
', 'Avery 5395', NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL),
-- Mailing Label Formats
(@option_group_id_label, '
{
ts
escape
=
"sql"
}
Avery 3475
{/
ts
}
', '
{
literal
}{
"paper-size"
:
"a4"
,
"orientation"
:
"portrait"
,
"font-name"
:
"helvetica"
,
"font-size"
:
10
,
"font-style"
:
""
,
"metric"
:
"mm"
,
"lMargin"
:
0
,
"tMargin"
:
5
,
"NX"
:
3
,
"NY"
:
8
,
"SpaceX"
:
0
,
"SpaceY"
:
0
,
"width"
:
70
,
"height"
:
36
,
"lPadding"
:
5.08
,
"tPadding"
:
5.08
}{/
literal
}
', '3475', 'Avery', NULL, 0, 1, NULL, 0, 1, 1, NULL, NULL),
(@option_group_id_label, '
{
ts
escape
=
"sql"
}
Avery 5160
{/
ts
}
', '
{
literal
}{
"paper-size"
:
"letter"
,
"orientation"
:
"portrait"
,
"font-name"
:
"helvetica"
,
"font-size"
:
8
,
"font-style"
:
""
,
"metric"
:
"in"
,
"lMargin"
:
0.21975
,
"tMargin"
:
0.5
,
"NX"
:
3
,
"NY"
:
10
,
"SpaceX"
:
0.14
,
"SpaceY"
:
0
,
"width"
:
2.5935
,
"height"
:
1
,
"lPadding"
:
0.20
,
"tPadding"
:
0.20
}{/
literal
}
', '5160', 'Avery', NULL, 0, 2, NULL, 0, 1, 1, NULL, NULL),
(@option_group_id_label, '
{
ts
escape
=
"sql"
}
Avery 5161
{/
ts
}
', '
{
literal
}{
"paper-size"
:
"letter"
,
"orientation"
:
"portrait"
,
"font-name"
:
"helvetica"
,
"font-size"
:
8
,
"font-style"
:
""
,
"metric"
:
"in"
,
"lMargin"
:
0.175
,
"tMargin"
:
0.5
,
"NX"
:
2
,
"NY"
:
10
,
"SpaceX"
:
0.15625
,
"SpaceY"
:
0
,
"width"
:
4
,
"height"
:
1
,
"lPadding"
:
0.20
,
"tPadding"
:
0.20
}{/
literal
}
', '5161', 'Avery', NULL, 0, 3, NULL, 0, 1, 1, NULL, NULL),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment