Show invoice amounts as currency
This commit is contained in:
		
							parent
							
								
									0b71e20f74
								
							
						
					
					
						commit
						bc96879fe3
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -147,8 +147,10 @@ class ExportableInvoiceView(MasterView): | ||||||
|         g.set_sort_defaults('invoice_date', 'desc') |         g.set_sort_defaults('invoice_date', 'desc') | ||||||
|         g.set_link('invoice_date') |         g.set_link('invoice_date') | ||||||
| 
 | 
 | ||||||
|         # invoice_total |         # currency fields | ||||||
|         g.set_type('invoice_total', 'currency') |         g.set_type('invoice_total', 'currency') | ||||||
|  |         g.set_type('shipping_amount', 'currency') | ||||||
|  |         g.set_type('supplies_amount', 'currency') | ||||||
| 
 | 
 | ||||||
|         # status_code |         # status_code | ||||||
|         g.set_enum('status_code', model.QuickbooksExportableInvoice.STATUS) |         g.set_enum('status_code', model.QuickbooksExportableInvoice.STATUS) | ||||||
|  | @ -212,8 +214,10 @@ class ExportableInvoiceView(MasterView): | ||||||
|         # vendor |         # vendor | ||||||
|         f.set_renderer('vendor', self.render_vendor) |         f.set_renderer('vendor', self.render_vendor) | ||||||
| 
 | 
 | ||||||
|         # invoice_total |         # currency fields | ||||||
|         f.set_type('invoice_total', 'currency') |         f.set_type('invoice_total', 'currency') | ||||||
|  |         f.set_type('shipping_amount', 'currency') | ||||||
|  |         f.set_type('supplies_amount', 'currency') | ||||||
| 
 | 
 | ||||||
|         # status |         # status | ||||||
|         f.set_enum('status_code', model.QuickbooksExportableInvoice.STATUS) |         f.set_enum('status_code', model.QuickbooksExportableInvoice.STATUS) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar