Download the PHP package vivutio/sourcing-module without Composer
On this page you can find all versions of the php package vivutio/sourcing-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package sourcing-module
vivutio/sourcing-module
Sourcing for vivutio. Rooms requested from the camps and lodges an organization trades with: sent through the core's partner channel, the camp's reply recorded, every step kept on the request.
Contents
- Install
- How it works
- Who may do what
- Development
- Licence
Install
In a vivutio installation:
Its recipe registers the bundle and mounts its pages with
config/routes/sourcing.yaml, a file the installation owns.
How it works
A request asks an accommodation partner (a partner kept in the core as accommodation, traded with now) to hold rooms: for whom, arriving when, for how many nights, and up to four lines of rooms ("2 × Double"). It is referred to as "RQ-0001".
It is sent as it is made, through the core's PartnerChannelInterface: by
the manual channel, an email to the partner's address with the reference in
the subject. The camp's reply is recorded by hand: confirmed, with the
camp's own reference, or declined, with a note. A request waiting or confirmed
is cancelled with a message to the camp saying so. Each step is kept on the
request, with who took it and when.
The module names no other module; it reads partners through the core's
PartnerDirectoryInterface and keeps only a partner's id.
On the organization's dashboard it puts one card through the core's
DashboardSourceInterface, for whoever may read room requests: "Waiting on a
reply", the requests sent and not yet answered, the longest waiting first, five
at most, each with how long it has waited (from three days on, in amber), and
a door to the register's requested ones.
Who may do what
| Pair | Who |
|---|---|
room_requests.read |
The register and a request's page |
room_requests.record |
Sending a new request |
room_requests.manage |
Recording replies and cancelling |
Each is a module pair, held where the person's department allows it too. The
suite extends the core's authority test base; tests/authority-table.md is
the reviewed table.
Development
Licence
AGPL-3.0-or-later. See LICENSE.
All versions of sourcing-module with dependencies
doctrine/doctrine-bundle Version ^3.0
doctrine/orm Version ^3.5
psr/clock Version ^1.0
symfony/clock Version ^8.0
symfony/config Version ^8.0
symfony/dependency-injection Version ^8.0
symfony/framework-bundle Version ^8.0
symfony/http-foundation Version ^8.0
symfony/http-kernel Version ^8.0
symfony/routing Version ^8.0
symfony/security-bundle Version ^8.0
symfony/security-core Version ^8.0
symfony/security-csrf Version ^8.0
symfony/security-http Version ^8.0
symfony/twig-bundle Version ^8.0
symfony/uid Version ^8.0
twig/twig Version ^3.21
vivutio/vivutio Version ^0.1.33