• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TampereHacklab / mulysa / 13288624793
86%

Build:
DEFAULT BRANCH: master
Ran 12 Feb 2025 03:17PM UTC
Jobs 1
Files 72
Run time 334min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Feb 2025 03:15PM UTC coverage: 86.91% (+2.9%) from 83.967%
13288624793

push

github

web-flow
Mulysa custom invoice paid by transaction (#551)

* Custom invoice payment is carried by _service_paid_by_transaction function

Custom invoice payment is carried by modified _service_paid_by_transaction
function. Funcion has add_days input variable.

Fixes issue: https://github.com/TampereHacklab/mulysa/issues/270

Signed-off-by: Erkki Hietaranta <erkki.hietaranta@gmail.com>

* Child subscription paid to date relate to Parent date

Child subscription paid to date is calculated
from days added to Parrent subscription so that multpile custominvoices
wont break basic idea of child payments.

Days that single payment adds are substracted from
days to add to Parent subscription. This is "virtual" payment
date. Single payment days of child subscription is added to
virtual payment date.

Child service is paid by calling funcion again. So now if child
service has childs, they get paid.

Prevent parent service to substract paid_to days

Signed-off-by: Erkki Hietaranta <erkki.hietaranta@gmail.com>

* Added test cases for service payments

Added testcases for servicepayments in monthly recurring way.
Added testcases for custominvoice payments.

* Childservice payment comments

Added comments for childservice calultaion

* Corrected spelling and layout

Co-authored-by: Tatu Wikman <tatu.wikman@gmail.com>
Signed-off-by: Erkki Hietaranta <erkki.hietaranta@gmail.com>

* Makemessages

Run of ./manage.py makemessages -l fi --no-obsolete, to update translation files, even only rownumbers has change.

Signed-off-by: Erkki Hietaranta <erkki.hietaranta@gmail.com>

---------

Signed-off-by: Erkki Hietaranta <erkki.hietaranta@gmail.com>
Co-authored-by: Tatu Wikman <tatu.wikman@gmail.com>

138 of 139 new or added lines in 2 files covered. (99.28%)

2337 of 2689 relevant lines covered (86.91%)

0.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
99.13
users/tests/test_payments.py
Jobs
ID Job ID Ran Files Coverage
1 13288624793.1 12 Feb 2025 03:17PM UTC 72
86.91
Source Files on build 13288624793
  • Tree
  • List 72
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f6679d22 on github
  • Prev Build on master (#13271133945)
  • Next Build on master (#13356077311)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc