Compare commits
	
		
			2 Commits
		
	
	
		
			6725edb1ae
			...
			607f7b6fc3
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					607f7b6fc3 | ||
| 
						 | 
					7425940514 | 
							
								
								
									
										2
									
								
								dependencies/Connected.Components
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
								
									
									
								
							
						
						
									
										2
									
								
								dependencies/Connected.Components
									
									
									
									
										vendored
									
									
								
							@ -1 +1 @@
 | 
			
		||||
Subproject commit 38d5bd01499f182bf5612a032d61c6de16619eb6
 | 
			
		||||
Subproject commit d7c2b58f2ef43d427146e6c76aad71adfe90ab09
 | 
			
		||||
@ -2,16 +2,20 @@
 | 
			
		||||
 | 
			
		||||
@inherits UIComposition
 | 
			
		||||
 | 
			
		||||
<div>
 | 
			
		||||
<h4>
 | 
			
		||||
	Insert new tax rate
 | 
			
		||||
</h4>
 | 
			
		||||
 | 
			
		||||
<div class="grid grid-col-2 gap-3">
 | 
			
		||||
	<div>
 | 
			
		||||
		<InputText id="name" @bind-Value="DataSource.Name" />
 | 
			
		||||
		<InputText @bind-Value="DataSource.Name" Label="Name" HelperText="The tax rate name" Required=true/>
 | 
			
		||||
	</div>
 | 
			
		||||
	
 | 
			
		||||
	<div>
 | 
			
		||||
		<InputNumber id="rate" @bind-Value="DataSource.Rate" />
 | 
			
		||||
	</div>
 | 
			
		||||
 | 
			
		||||
	<Button @onclick="OnInsert">Submit</Button>
 | 
			
		||||
	<Button @onclick="OnCancel">Cancel</Button>
 | 
			
		||||
 | 
			
		||||
		<InputNumber DisableMouseWheel=true @bind-Value="DataSource.Rate" Label="Rate" Required=true HelperText="The tax rate" />
 | 
			
		||||
	</div>	
 | 
			
		||||
</div>
 | 
			
		||||
<div class="py-3">
 | 
			
		||||
	<Button Size="Size.Small" @onclick="OnInsert" Class="mr-3">Submit</Button>
 | 
			
		||||
	<Button Size="Size.Small" @onclick="OnCancel">Cancel</Button>
 | 
			
		||||
</div>
 | 
			
		||||
@ -2,24 +2,20 @@
 | 
			
		||||
 | 
			
		||||
@inherits UIComposition
 | 
			
		||||
 | 
			
		||||
<h4>
 | 
			
		||||
	Update tax rate
 | 
			
		||||
</h4>
 | 
			
		||||
 | 
			
		||||
<h3>TaxRateEditForm</h3>
 | 
			
		||||
 | 
			
		||||
<EditForm Model="@DataSource" OnValidSubmit="@OnUpdate">
 | 
			
		||||
	<DataAnnotationsValidator />
 | 
			
		||||
	<ValidationSummary />
 | 
			
		||||
 | 
			
		||||
<div class="grid grid-col-2 gap-3">
 | 
			
		||||
	<div>
 | 
			
		||||
		<label for="name">Name</label>
 | 
			
		||||
		<InputText id="name" @bind-Value="DataSource.Name" />
 | 
			
		||||
		<InputText @bind-Value="DataSource.Name" Label="Name" HelperText="The tax rate name" Required=true/>
 | 
			
		||||
	</div>
 | 
			
		||||
 | 
			
		||||
	<div>
 | 
			
		||||
		<label for="rate">Rate</label>
 | 
			
		||||
		<InputNumber id="rate" @bind-Value="DataSource.Rate" />
 | 
			
		||||
	</div>
 | 
			
		||||
 | 
			
		||||
	<button type="submit">Submit</button>
 | 
			
		||||
	<button @onclick="OnCancel">Cancel</button>
 | 
			
		||||
 | 
			
		||||
</EditForm>
 | 
			
		||||
		<InputNumber DisableMouseWheel=true @bind-Value="DataSource.Rate" Label="Rate" Required=true HelperText="The tax rate" />
 | 
			
		||||
</div>	
 | 
			
		||||
</div>
 | 
			
		||||
<div class="py-3">
 | 
			
		||||
	<Button Size="Size.Small" @onclick="OnUpdate" Class="mr-3">Submit</Button>
 | 
			
		||||
	<Button Size="Size.Small" @onclick="OnCancel">Cancel</Button>
 | 
			
		||||
</div>
 | 
			
		||||
@ -2,6 +2,4 @@
 | 
			
		||||
 | 
			
		||||
@using Connected.Common.Types.TaxRates.Components
 | 
			
		||||
 | 
			
		||||
<h3>TaxRateAdd</h3>
 | 
			
		||||
 | 
			
		||||
<TaxRateAdd></TaxRateAdd>
 | 
			
		||||
@ -1,4 +1,5 @@
 | 
			
		||||
using System.Collections.Immutable;
 | 
			
		||||
using Connected.Common.Types.TaxRates;
 | 
			
		||||
using Connected.Entities;
 | 
			
		||||
using Connected.ServiceModel;
 | 
			
		||||
using static Connected.Common.Types.TaxRates.TaxRateOps;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user