Skip to content

Commit

Permalink
Version 1.22.12
Browse files Browse the repository at this point in the history
  • Loading branch information
bsongis committed Aug 29, 2018
1 parent 3e5c3e0 commit 8c18551
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion facture.py
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ def __init__(self, reservataire, date):
if reservataire.debut > self.fin or (reservataire.fin and self.reservataire.fin < date):
self.nombre_mois -= 1
date = GetNextMonthStart(date)
if reservataire.has_facture(self.debut):
if reservataire.has_facture(self.debut) and reservataire.tarif:
self.total = reservataire.tarif * self.nombre_mois
else:
self.total = .0
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# You should have received a copy of the GNU General Public License
# along with Gertrude; if not, see <http://www.gnu.org/licenses/>.

VERSION = '1.22.11'
VERSION = '1.22.12'

0 comments on commit 8c18551

Please sign in to comment.