xxxx
							parent
							
								
									54eca08b5c
								
							
						
					
					
						commit
						02aa22a844
					
				| 
						 | 
					@ -127,14 +127,12 @@ class ReportLaborCostSummary(Model):
 | 
				
			||||||
                return r
 | 
					                return r
 | 
				
			||||||
            return "{0:,.0f}".format(r) 
 | 
					            return "{0:,.0f}".format(r) 
 | 
				
			||||||
        total_hdcase=0
 | 
					        total_hdcase=0
 | 
				
			||||||
        print("----> ", dom)
 | 
					 | 
				
			||||||
        for line in get_model("clinic.labor.cost.line").search_browse(dom):
 | 
					        for line in get_model("clinic.labor.cost.line").search_browse(dom):
 | 
				
			||||||
            lcost=line.labor_cost_id
 | 
					            lcost=line.labor_cost_id
 | 
				
			||||||
            citem=lcost.cycle_item_id
 | 
					            citem=lcost.cycle_item_id
 | 
				
			||||||
            dpt=citem.department_id
 | 
					            dpt=citem.department_id
 | 
				
			||||||
            qty=line.qty or 0
 | 
					            qty=line.qty or 0
 | 
				
			||||||
            total_hdcase+=qty
 | 
					            total_hdcase+=qty
 | 
				
			||||||
            print("total_hdcase ", total_hdcase)
 | 
					 | 
				
			||||||
            amt=line.amount or 0
 | 
					            amt=line.amount or 0
 | 
				
			||||||
            staff=line.staff_id
 | 
					            staff=line.staff_id
 | 
				
			||||||
            categ_name=''
 | 
					            categ_name=''
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue