ChurchCRM / CRM

ChurchCRM is an OpenSource Church CRM & Management Software.
https://ChurchCRM.io
MIT License
627 stars 445 forks source link

Ability to add Label Types - Feature #1812

Closed simonkp closed 1 month ago

simonkp commented 7 years ago

Move Label type definition to config table so that user can add additional label types.

Currently in code as below.

'8600' => ['name'=>'8600', 'paper-size'=>'letter', 'metric'=>'mm', 'marginLeft'=>7.1, 'marginTop'=>19, 'NX'=>3, 'NY'=>10, 'SpaceX'=>9.5, 'SpaceY'=>3.1, 'width'=>66.6, 'height'=>25.4, 'font-size'=>8], '74536' => ['name'=>'74536(name tags)', 'paper-size'=>'letter', 'metric'=>'mm', 'marginLeft'=>7.0, 'marginTop'=>25, 'NX'=>2, 'NY'=>3, 'SpaceX'=>0, 'SpaceY'=>0, 'width'=>102, 'height'=>76, 'font-size'=>18], 'L7163' => ['name'=>'L7163', 'paper-size'=>'A4', 'metric'=>'mm', 'marginLeft'=>5, 'marginTop'=>15, 'NX'=>2, 'NY'=>7, 'SpaceX'=>2.5, 'SpaceY'=>0, 'width'=>99.1, 'height'=>38.1, 'font-size'=>10],

DawoudIO commented 7 years ago

Ya maybe a new table with that config

crossan007 commented 7 years ago

nah - this is a great opportunity to use the JSON config type - like used in sQBDTSettings

DawoudIO commented 7 years ago

@simonkp now that @crossan007 finished his config pr https://github.com/ChurchCRM/CRM/pull/1817 now you can add that to types and have a dropdown to select the correct type

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 15 days with no activity.