mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	init crater
This commit is contained in:
		
							
								
								
									
										11
									
								
								resources/assets/js/stub/address.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								resources/assets/js/stub/address.js
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| export default { | ||||
|   name: null, | ||||
|   phone: null, | ||||
|   address_street_1: null, | ||||
|   address_street_2: null, | ||||
|   city_id: null, | ||||
|   state_id: null, | ||||
|   country_id: null, | ||||
|   zip: null, | ||||
|   type: null | ||||
| } | ||||
							
								
								
									
										18
									
								
								resources/assets/js/stub/estimate.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								resources/assets/js/stub/estimate.js
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,18 @@ | ||||
| export default { | ||||
|   estimate_id: null, | ||||
|   item_id: null, | ||||
|   name: '', | ||||
|   title: '', | ||||
|   description: null, | ||||
|   quantity: 1, | ||||
|   price: 0, | ||||
|   discount_type: 'fixed', | ||||
|   discount_val: 0, | ||||
|   discount: 0, | ||||
|   total: 0, | ||||
|   totalTax: 0, | ||||
|   totalSimpleTax: 0, | ||||
|   totalCompoundTax: 0, | ||||
|   tax: 0, | ||||
|   taxes: [] | ||||
| } | ||||
							
								
								
									
										18
									
								
								resources/assets/js/stub/invoice.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								resources/assets/js/stub/invoice.js
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,18 @@ | ||||
| export default { | ||||
|   invoice_id: null, | ||||
|   item_id: null, | ||||
|   name: '', | ||||
|   title: '', | ||||
|   description: null, | ||||
|   quantity: 1, | ||||
|   price: 0, | ||||
|   discount_type: 'fixed', | ||||
|   discount_val: 0, | ||||
|   discount: 0, | ||||
|   total: 0, | ||||
|   totalTax: 0, | ||||
|   totalSimpleTax: 0, | ||||
|   totalCompoundTax: 0, | ||||
|   tax: 0, | ||||
|   taxes: [] | ||||
| } | ||||
							
								
								
									
										7
									
								
								resources/assets/js/stub/tax.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								resources/assets/js/stub/tax.js
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | ||||
| export default { | ||||
|   name: '', | ||||
|   tax_type_id: 0, | ||||
|   amount: null, | ||||
|   percent: null, | ||||
|   compound_tax: false | ||||
| } | ||||
		Reference in New Issue
	
	Block a user