Comments (4)
Hi @salimhb ,
currently there exists the endpoint:
http://localhost:3000/companies/d51fd572-4daa-4387-bcb1-8760d5017795
it fetches all data for a company including the areas.
Example
{
"name": "Test GmbH"
"areas": [
{}, <--- I assume you want to add the checkin link here?
{}
]
}
That correct?
from recover-backlog.
QR code link is currently generated within QRCode. I suggest to move that particular logic to Area model in order to make it available in Area.
from recover-backlog.
Hi @hey-johnnypark, this Topic is not for the API, it's for the RailsAdmin Backend.
It's possible to add custom columns to the Area configuration in RailsAdmin that calls the QRCode class.
from recover-backlog.
This is how it would look like after the change:
[
{
"id": "d51fd572-4daa-4387-bcb1-8760d5017795",
"name": "Test GmbH",
"menu_link": "",
"areas": [
{
"id": "765b3848-f4bc-4ab7-a719-77fa714cdc33",
"name": "A",
"menu_link": "",
"company_id": "d51fd572-4daa-4387-bcb1-8760d5017795",
"company_name": "Test GmbH",
"owner_is_blocked": false,
"menu_alias": null,
"frontend_url": "http://localhost:3001",
"public_key": "XRtIexDX/TRGo9xwr140mBrwjF8yHyWC8yU8r97dTHM=",
"checkin_link": "http://localhost:3001/checkin?a=765b3848-f4bc-4ab7-a719-77fa714cdc33&k=XRtIexDX%2FTRGo9xwr140mBrwjF8yHyWC8yU8r97dTHM%3D"
},
{
"id": "31d01a91-9a0a-44a3-b925-b22e2dd0c291",
"name": "B",
"menu_link": "",
"company_id": "d51fd572-4daa-4387-bcb1-8760d5017795",
"company_name": "Test GmbH",
"owner_is_blocked": false,
"menu_alias": null,
"frontend_url": "http://localhost:3001",
"public_key": "XRtIexDX/TRGo9xwr140mBrwjF8yHyWC8yU8r97dTHM=",
"checkin_link": "http://localhost:3001/checkin?a=31d01a91-9a0a-44a3-b925-b22e2dd0c291&k=XRtIexDX%2FTRGo9xwr140mBrwjF8yHyWC8yU8r97dTHM%3D"
}
],
"menu_pdf_link": null
}
]
from recover-backlog.
Related Issues (20)
- The checkin description should have another wording
- As a user I want "Bereiche" with coronatest-checks and without. HOT 1
- Depending on the Bundesland in there are different rules about how long the Schnelltest are valid. HOT 1
- 3 G's are no longer needed in outdoor gastronomy (at least in some parts of Germany) HOT 2
- User gets error: Wir konnten keine Verbindung herstellen.
- User wants to let his customers to be logged in for longer than 4 hours.
- Make Affiliate Logos Static HOT 1
- Checkin not possible when GGG turned on on company level
- "0" on the right side of Abfrage für Ordnungsamt
- Phone number to header
- Recover Care users cannot use the GGG feature HOT 1
- Text change in Kundenkondtaktdaten abfragen
- add i18n to checkin page
- As a recover user I would like to be able to select a language
- Affiliate Overview on a company basis - Backend HOT 1
- Kompatibilität mit älteren Browsern
- Upgrade to Nextjs 11 HOT 1
- Add posibility to soft delete areas by owner
- Enter name in webmanifest (https://rcvr.app/site.webmanifest)
- As a shop/restaurant owner I would like to have the "2G" option when creating a business in recover user dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recover-backlog.