mirror of
https://github.com/telavivmakers/boring-admin.git
synced 2024-05-25 11:56:55 +03:00
format
This commit is contained in:
parent
36d38f6f3c
commit
44c30a76ba
1056
.gitignore
vendored
Normal file
1056
.gitignore
vendored
Normal file
File diff suppressed because it is too large
Load Diff
63
README.md
63
README.md
|
@ -1,37 +1,62 @@
|
|||
bank2invoice
|
||||
===============
|
||||
# bank2invoice
|
||||
|
||||
created by and for TAMI admins,
|
||||
to automate boring accounting chores.
|
||||
|
||||
|
||||
purpose:
|
||||
|
||||
### Purpose
|
||||
---
|
||||
for each payment in bank report,
|
||||
creates a DONATION RECEIPT (type #405) entity in our account at "Heshbonit Yeruka" (AKA "morning")
|
||||
|
||||
todo:
|
||||
=============
|
||||
### TODO
|
||||
---
|
||||
למיין לפי תאריך ולהזין אותם בסדר עולה מהישן לחדש
|
||||
לבדוק קודם את תאריך הקבלה האחרונה שיצאה, כדי להתחיל לא מוקדם מהתאריך הזה.
|
||||
לבדוק שאין כפילויות. כרגע המערכת שלהם מאפשרת לי ליצור 2 קבלות עם אותם נתונים, בלי שום הערה או אזהרה
|
||||
|
||||
install:
|
||||
==========
|
||||
adjust authentication and other params bank2invoice.ini
|
||||
### Install
|
||||
---
|
||||
|
||||
Windows Note:
|
||||
--------------
|
||||
The green_invoice module requires lxml v4.6.3, which is pain in the everything to install on Windows.
|
||||
So I downloaded the green_invoice-1.2.1-py3-none-any.whl package, and changed the requiremnts from ==4.6.3 to by >= 4.6.3, hence my hacked "green_invoice.whl" is added to the repo, and the latest binary lxml for my Windows x python version.
|
||||
`pip install green_invoice`
|
||||
adjust authentication and other params `bank2invoice.ini`
|
||||
|
||||
In linux it should install easily with just `pip install green_invoice`
|
||||
the project uses the [greeninvoice API](https://www.greeninvoice.co.il/api-docs), packed to a [pip](https://github.com/yanivps/green-invoice) by by yaniv (hi!),
|
||||
think of him when you
|
||||
|
||||
"""
|
||||
`pip install green-invoice`
|
||||
|
||||
|
||||
|
||||
srsly now, tami automation team suggest to setup using python3.8[1]
|
||||
|
||||
```bash
|
||||
git clone git@github.com:telavivmakers/boring-admin.git
|
||||
cd boring-admin
|
||||
python -m venv .venv
|
||||
source ./.venv/scripts/activate #omit the source command on linux
|
||||
./venv/scripts/pip install pip --update
|
||||
pip install green_invoice requests
|
||||
```
|
||||
|
||||
#### Windows Note:
|
||||
|
||||
The green_invoice module requires lxml v4.6.3, which is pain in the everything to install on Windows.
|
||||
So I downloaded the `green_invoice-1.2.1-py3-none-any.whl` package, and changed the requiremnts from `==4.6.3` to by `>= 4.6.3`, hence my hacked `green_invoice.whl` is added to the repo. and the latest binary lxml for my Windows x python version.
|
||||
|
||||
|
||||
|
||||
## OpSec
|
||||
---
|
||||
|
||||
working Api Tokens in `.ini` need to be provided
|
||||
you should derive your own `.ini`, or get it from me, or from yair.
|
||||
|
||||
ini file is NOT added to the github repo, for seurity reasons.
|
||||
you should derive your own ini, or get it from me, or from yair.
|
||||
ini file must be at your home dir (details inside the code)
|
||||
|
||||
|
||||
tested on current bank report in google sheets (private link)
|
||||
|
||||
---
|
||||
[notes]
|
||||
|
||||
[1] when did python 3.x versions became as fickel as an osx architecture change?!
|
||||
[2] [shahar]( shaharr.info) rocks the night sky! kicked working code, out the door, before your very eyes
|
Loading…
Reference in New Issue
Block a user