Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docxGenerator.js #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docxGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function getSubjectParagraphs(location = '') {

function getContextParagraphs(location = '') {
const context = [
'一、 依工廠管理輔導法第28-1、28-12條辦理。',
'一、 依工廠管理輔導法第28-1、28-12條、區域計畫法第21條辦理。',
// eslint-disable-next-line no-irregular-whitespace
`二、 ${location} 地號土地新發現新增建鐵皮廠房情形,經地球公民基金會志工拍攝存證,如附件一。因懷疑係屬非法建築行為,函請貴府調查處理。若有不法情事,並應依法裁處,請貴府將查處情形,惠知本會。`,
];
Expand Down Expand Up @@ -151,7 +151,7 @@ function getCCParagraphs(legislator = 'XXX', _townName = null) {
const context = [
'',
`正本:${townName}政府`,
`副本:內政部、行政院農委會、經濟部工業局、經濟部中部辦公室、立法委員${legislator}國會辦公室`,
`副本:內政部國土署、農業部、經濟部產業發展署、立法委員${legislator}國會辦公室`,
];

return context.map(
Expand Down