Compare commits
No commits in common. "607f7b6fc3d5cbc1c8d13f303bf0fbf0a5462e9f" and "6725edb1aef6500346ac24e2af2f3ab4e540f4a5" have entirely different histories.
607f7b6fc3
...
6725edb1ae
2
dependencies/Connected.Components
vendored
2
dependencies/Connected.Components
vendored
@ -1 +1 @@
|
||||
Subproject commit d7c2b58f2ef43d427146e6c76aad71adfe90ab09
|
||||
Subproject commit 38d5bd01499f182bf5612a032d61c6de16619eb6
|
@ -2,20 +2,16 @@
|
||||
|
||||
@inherits UIComposition
|
||||
|
||||
<h4>
|
||||
Insert new tax rate
|
||||
</h4>
|
||||
|
||||
<div class="grid grid-col-2 gap-3">
|
||||
<div>
|
||||
<div>
|
||||
<InputText @bind-Value="DataSource.Name" Label="Name" HelperText="The tax rate name" Required=true/>
|
||||
<InputText id="name" @bind-Value="DataSource.Name" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<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>
|
||||
<InputNumber id="rate" @bind-Value="DataSource.Rate" />
|
||||
</div>
|
||||
|
||||
<Button @onclick="OnInsert">Submit</Button>
|
||||
<Button @onclick="OnCancel">Cancel</Button>
|
||||
|
||||
</div>
|
@ -2,20 +2,24 @@
|
||||
|
||||
@inherits UIComposition
|
||||
|
||||
<h4>
|
||||
Update tax rate
|
||||
</h4>
|
||||
|
||||
<div class="grid grid-col-2 gap-3">
|
||||
<h3>TaxRateEditForm</h3>
|
||||
|
||||
<EditForm Model="@DataSource" OnValidSubmit="@OnUpdate">
|
||||
<DataAnnotationsValidator />
|
||||
<ValidationSummary />
|
||||
|
||||
<div>
|
||||
<InputText @bind-Value="DataSource.Name" Label="Name" HelperText="The tax rate name" Required=true/>
|
||||
<label for="name">Name</label>
|
||||
<InputText id="name" @bind-Value="DataSource.Name" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<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>
|
||||
<label for="rate">Rate</label>
|
||||
<InputNumber id="rate" @bind-Value="DataSource.Rate" />
|
||||
</div>
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
<button @onclick="OnCancel">Cancel</button>
|
||||
|
||||
</EditForm>
|
@ -2,4 +2,6 @@
|
||||
|
||||
@using Connected.Common.Types.TaxRates.Components
|
||||
|
||||
<h3>TaxRateAdd</h3>
|
||||
|
||||
<TaxRateAdd></TaxRateAdd>
|
@ -1,5 +1,4 @@
|
||||
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