-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmm_email_template_hold_notice_non_taxing.Rmd
186 lines (153 loc) · 4.39 KB
/
mm_email_template_hold_notice_non_taxing.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
---
geometry: paperheight=11in,paperwidth=8.5in,margin=0.5in
output:
pdf_document:
keep_tex: true
includes:
in_header: columns.tex
html_document: default
always_allow_html: true
urlcolor: blue
params:
miss_exp: report_miss_exp
miss_rev: report_miss_rev
miss_pay: report_miss_pay
miss_lg: report_miss_lg
miss_dandi: report_miss_dandi
entity_name: report_entity_name
report_types: report_types_p
---
\pagenumbering{gobble}
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, cache = FALSE)
```
```{r}
library(stringi)
library(magrittr)
```
```{r out.width = "550px", out.align="center"}
# if (params$report_type=="60day_notice"){
# knitr::include_graphics("00aa_postcard_60day_transparency_2.png")
# } else if (params$report_type=="10day_notice"){
# knitr::include_graphics("00aa_10day_notice.png")
# } else if (params$report_type=="hold_notice"){
# knitr::include_graphics("00aa_postcard_hold_notice.png")
# } else {
knitr::include_graphics("00aa_postcard_hold_notice.png")
# }
```
### \hfill __`r params$entity_name`__ | `r Sys.Date()`
Our records indicate we have not received the required financial reports for **`r params$entity_name`**.Therefore, as authorized by Utah Code 67-3-1 the State Auditor is \underline{ordering you to immediately suspend all disbursements, expenditures, or payments by your entity until the following required reports have been submitted.)
```{r, comment=NA, results='asis'}
if ('transparency' %in% params$report_types){
"<p> </p> \\textbf{\\underline{ State Finance Transparency Reports}}" %>%
cat()
}
```
:::::: {.cols data-latex=""}
::: {.col data-latex="{0.30\textwidth}"}
```{r, comment=NA, results='asis'}
if ('transparency' %in% params$report_types){
"\\textbf{Missing Expenditures}" %>%
cat()
}
```
<!-- # ```{r, comment=NA, results='asis', fig.align='center'} -->
<!-- # params$miss_rev%>% -->
<!-- # stri_split_regex(", ") %>% -->
<!-- # unlist() %>% -->
<!-- # paste0("* ",.,"\n") %>% -->
<!-- # cat() -->
<!-- # ``` -->
<!-- # } -->
```{r, comment=NA, results='asis'}
if ('transparency' %in% params$report_types){
params$miss_exp %>%
stri_split_regex(", ") %>%
unlist() %>%
paste0("* ",.,"\n") %>%
cat()
}
```
:::
::: {.col data-latex="{0.05\textwidth}"}
\
<!-- an empty Div (with a white space), serving as
a column separator -->
:::
::: {.col data-latex="{0.30\textwidth}"}
```{r, comment=NA, results='asis'}
if ('transparency' %in% params$report_types){
"\\textbf{Missing Revenues}" %>%
cat()
}
```
```{r, comment=NA, results='asis', fig.align='center'}
if ('transparency' %in% params$report_types){
params$miss_rev%>%
stri_split_regex(", ") %>%
unlist() %>%
paste0("* ",.,"\n") %>%
cat()
}
```
:::
::: {.col data-latex="{0.05\textwidth}"}
\
<!-- an empty Div (with a white space), serving as
a column separator -->
:::
::: {.col data-latex="{0.30\textwidth}"}
```{r, comment=NA, results='asis'}
if ('transparency' %in% params$report_types){
"\\textbf{Missing Payroll}" %>%
cat()
}
```
```{r, comment=NA, results='asis'}
if ('transparency' %in% params$report_types){
params$miss_pay%>%
stri_split_regex(", ") %>%
unlist() %>%
paste0("* ",.,"\n") %>%
cat()
}
```
:::
::::::
```{r, comment=NA, results='asis'}
if ('auditor' %in% params$report_types){
"<p> </p> \\textbf{\\underline{ Local Government Auditor Reports}}" %>%
cat()
}
```
```{r, comment=NA, results='asis'}
if ('auditor' %in% params$report_types){
params$miss_lg%>%
stri_split_regex(", ") %>%
unlist() %>%
paste0("* ",.,"\n") %>%
cat()
}
```
```{r, comment=NA, results='asis'}
if ('treasurer' %in% params$report_types){
"<p> </p> \\textbf{\\underline{ State Treasurer Deposity and Investment Reports}}" %>%
cat()
}
```
```{r, comment=NA, results='asis'}
if ('treasurer' %in% params$report_types){
params$miss_dandi%>%
stri_split_regex(", ") %>%
unlist() %>%
paste0("* ",.,"\n") %>%
cat()
}
```
<p> </p>
<p> </p>
If the entity has been set up with a user account, then submit reports online at: https://reporting.auditor.utah.gov
Contact the office of the State Auditor with any questions - [EMAIL] - [PHONE]
<p> </p>
For treasurer reports, contact Ann Pedroza - [email protected] | 801-538-1883