Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
birger
users
Commits
3bdb4022
Commit
3bdb4022
authored
May 25, 2021
by
o@immerda.ch
Browse files
fix reference generation for qr code
parent
a9fe92a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/controllers/bills_controller.rb
View file @
3bdb4022
...
...
@@ -14,9 +14,9 @@ class BillsController < ApplicationController
throw
:invalid_char
end
end
str2
=
"
#{
str
}
2715"
str2
=
"
#{
str
}
2715
00
"
rem
=
str2
.
to_i
%
97
diff
=
(
rem
-
1
)
%
97
diff
=
98
-
rem
"RF
#{
'%02d'
%
diff
}#{
key
}
"
end
...
...
Write
Preview
Supports
Markdown
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