Skip to content

Commit

Permalink
Update pemakaian_rotary_report_excel.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alfiussamuel committed Aug 3, 2021
1 parent 9adbc9a commit 2f2b0f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v12_pwk/models/pemakaian_rotary_report_excel.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def generate_xlsx_report(self, workbook, data, lines):
sheet.set_column(0, 0, 5)
sheet.set_column(1, 1, 15)
sheet.set_column(2, 2, 15)
sheet.set_column(3, 3, 15)
sheet.set_column(3, 3, 30)
sheet.set_column(4, 4, 15)
sheet.set_column(5, 5, 15)
sheet.set_column(6, 6, 15)
Expand Down Expand Up @@ -141,8 +141,8 @@ def generate_xlsx_report(self, workbook, data, lines):
sheet.write(row, 3, i['nama_barang'], formatHeaderDetailCenter)
sheet.write(row, 4, i['spesifikasi'], formatHeaderDetailLeft)
sheet.write(row, 5, i['jumlah'], formatHeaderDetailRight)
sheet.write(row, 7, i['harga_satuan'], formatHeaderDetailRight)
sheet.write(row, 8, i['dipakai_di'], formatHeaderDetailCenter)
sheet.write(row, 6, i['harga_satuan'], formatHeaderDetailRight)
sheet.write(row, 7, i['dipakai_di'], formatHeaderDetailCenter)

row += 1
number += 1
Expand Down

0 comments on commit 2f2b0f8

Please sign in to comment.