Newer
Older
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
This extension allows you to map provinces to branches for memberships. On selection of a province, the appropriate branch should be allocated to the membership being purchased.
The extension is licensed under [AGPL-3.0](LICENSE.txt).
## Requirements
* PHP v7.0+
* CiviCRM (5.3+)
## Installation (Web UI)
This extension has not yet been published for installation via the web UI.
## Installation (CLI, Zip)
Sysadmins and developers may download the `.zip` file for this extension and
install it with the command-line tool [cv](https://github.com/civicrm/cv).
```bash
cd <extension-dir>
cv dl branchprovince@https://github.com/FIXME/branchprovince/archive/master.zip
```
## Installation (CLI, Git)
Sysadmins and developers may clone the [Git](https://en.wikipedia.org/wiki/Git) repo for this extension and
install it with the command-line tool [cv](https://github.com/civicrm/cv).
```bash
git clone https://github.com/FIXME/branchprovince.git
cv en branchprovince
```
## Usage
1. When the extension is installed, the branch options under the Administer > Option Values > Branch will have the Province multiselect when edited.
2. Branches are then stored with association to provinces in the database.
3. The caparent extension will use the mapping specified by this extension to allocate branches to memberships when a province is selected on the online membership pages.
## Known Issues
This extension works with the caparent extension to allocate branches. As of now, there is no backend automatic allocation since staff is expected to enter in the branch manually.