Skip to content

Commit

Permalink
Revisi tarif_persen
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevhe18 committed Aug 18, 2017
1 parent 5bf875c commit 98db280
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,14 @@ def _compute_matrix_line(self, line_ids):
if line_ids:
for line in line_ids:
self.total_bruto += line.amount
val_tarif_persen =\
(line.tax_id.amount * 100)
value = {
'bruto': line.amount,
'tarif': self.tarif,
'pph_dipotong': line.amount_tax,
'tax_code_name': line.tax_code_id.name,
'tarif_persen': line.tax_id.amount,
'tarif_persen': str(val_tarif_persen) + "%",
}
self.matrix[line.sequence] = value

Expand Down

0 comments on commit 98db280

Please sign in to comment.