Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
open-source
aoz-003
Commits
687cbc33
Verified
Commit
687cbc33
authored
Dec 01, 2020
by
Kaspar Vollenweider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add active and inactive assignments count to group_offers sheet
parent
c55f7f47
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
.rubocop_todo.yml
.rubocop_todo.yml
+1
-0
app/views/coplaners/sheets/_group_offers.xlsx.axlsx
app/views/coplaners/sheets/_group_offers.xlsx.axlsx
+4
-4
No files found.
.rubocop_todo.yml
View file @
687cbc33
...
...
@@ -371,6 +371,7 @@ Layout/HashAlignment:
#
URISchemes: http, https
L
ayout/LineLength:
Exclude:
- 'app/views/coplaners/sheets/_group_offers.xlsx.axlsx'
- 'app/controllers/assignments_controller.rb'
- 'app/controllers/billing_expenses_controller.rb'
- 'app/controllers/clients_controller.rb'
...
...
app/views/coplaners/sheets/_group_offers.xlsx.axlsx
View file @
687cbc33
...
...
@@ -11,7 +11,7 @@ wb.add_worksheet(name: 'Gruppenangebote') do |sheet|
'Standort',
'Erstellt am',
'Startdatum',
'Erster Einsatz
B
egonnen am',
'Erster Einsatz
b
egonnen am',
'Angebotsenddatum',
'Beendet',
'Dauer in Monaten',
...
...
@@ -32,7 +32,7 @@ wb.add_worksheet(name: 'Gruppenangebote') do |sheet|
group_offer.department&.contact&.last_name, # 'Standort'
group_offer.created_at, # 'Erstellt am'
group_offer.period_start, # 'Startdatum'
group_offer.group_assignments.minimum(:period_start), # 'Erster Einsatz
B
egonnen am'
group_offer.group_assignments.minimum(:period_start), # 'Erster Einsatz
b
egonnen am'
group_offer.period_end, # 'Angebotsenddatum'
group_offer.terminated?, # 'Beendet'
'', # 'Dauer in Monaten'
...
...
@@ -51,7 +51,7 @@ wb.add_worksheet(name: 'Gruppenangebote') do |sheet|
nil, # 'Standort'
:time, # 'Erstellt am'
nil, # 'Startdatum'
nil, # 'Erster Einsatz
B
egonnen am'
nil, # 'Erster Einsatz
b
egonnen am'
nil, # 'Angebotsenddatum'
nil, # 'Dauer in Monaten'
nil, # 'Einsatz'
...
...
@@ -70,7 +70,7 @@ wb.add_worksheet(name: 'Gruppenangebote') do |sheet|
std_style, # 'Standort'
date_time_style, # 'Erstellt am'
date_style, # 'Startdatum'
date_style, # 'Erster Einsatz
B
egonnen am'
date_style, # 'Erster Einsatz
b
egonnen am'
date_style, # 'Angebotsenddatum'
std_style, # 'Dauer in Monaten'
std_style, # 'Einsatz'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment