Warning
Moved to https://git.balthazar-rouberol.com/brouberol/grand-cedre
This project implements tools used in the administration of Le Grand Cèdre, a flexible working space welcoming alternative medicine practitioners, in the form of a web interface.
It allows to register clients base, import booking information from Google Calendars, define pricings, edit contracts, track expenses, generate invoices, monthly, quarterly and yearly balance sheets, upload documents to Google Drive, etc.
It was not designed as a generic tool, but rather an implementation of specific needs. The code was nevertheless made open-source for the sake of transparency.
When the app is running for the first time, run the following command to import the different pricings in database:
% flask import-fixturesThe bookings can regularly be imported from Google Calendar in an idempotent way by running
% flask import-bookingsInvoices for the previous month (by default, which can be override with the --year and --month arguments) can be generated and uploaded to Google Drive by running
% flask generate-invoicesIf the --no-commit flag is provided, the calendar events will be imported but nothing will be committed to the database. If the --no-upload flag is passed, the invoices will not be uploaded to Google Drive.
A balance sheet (CSV file listing all paid invoices for the given period and all expenses) for the previous month (by default, which can be override with the --year and --month arguments) can be generated and uploaded to Google Drive by running
% flask create-balance-sheetIf the --no-upload flag is passed, the balance sheet will not be uploaded to Google Drive.