receipt
parent
bb73fd9245
commit
4510c8534d
|
@ -4,6 +4,7 @@
|
|||
<field name="date"/>
|
||||
<field name="cycle_id"/>
|
||||
<field name="staff_id"/>
|
||||
<field name="level_id"/>
|
||||
<field name="type" readonly="1"/>
|
||||
<field name="branch_id"/>
|
||||
<field name="department_id"/>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<field name="cycle_id"/>
|
||||
<field name="department_id"/>
|
||||
<field name="staff_id"/>
|
||||
<field name="level_id"/>
|
||||
<field name="type"/>
|
||||
<field name="amount"/>
|
||||
<field name="pay_amount"/>
|
||||
|
|
|
@ -1231,7 +1231,7 @@ class HDCase(Model):
|
|||
for payment in obj.payments:
|
||||
context['payment_id']=payment.id
|
||||
data=self.get_report_payment_data(context=context)
|
||||
limit_item=13
|
||||
limit_item=10
|
||||
if data['state']=='draft':
|
||||
limit_item=10
|
||||
for i in range(len(data['lines']),limit_item):
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue