-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend Store entity - Add House bank fields
- Loading branch information
1 parent
d172ad9
commit f850cc7
Showing
11 changed files
with
110 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace Grand.Domain.Stores | ||
{ | ||
public class BankAccount : SubBaseEntity | ||
{ | ||
public string BankCode { get; set; } | ||
public string BankName { get; set; } | ||
public string SwiftCode { get; set; } | ||
public string AccountNumber { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
src/Web/Grand.Web.Admin/Areas/Admin/Views/Store/_CreateOrUpdate.TabBankAccount.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@model StoreModel | ||
|
||
<div class="form-horizontal"> | ||
<div class="form-body"> | ||
<div class="form-group"> | ||
<admin-label asp-for="BankAccount.BankCode" /> | ||
<div class="col-md-9 col-sm-9"> | ||
<admin-input asp-for="BankAccount.BankCode" /> | ||
<span asp-validation-for="BankAccount.BankCode"></span> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<admin-label asp-for="BankAccount.BankName" /> | ||
<div class="col-md-9 col-sm-9"> | ||
<admin-input asp-for="BankAccount.BankName" /> | ||
<span asp-validation-for="BankAccount.BankName"></span> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<admin-label asp-for="BankAccount.SwiftCode" /> | ||
<div class="col-md-9 col-sm-9"> | ||
<admin-input asp-for="BankAccount.SwiftCode" /> | ||
<span asp-validation-for="BankAccount.SwiftCode"></span> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<admin-label asp-for="BankAccount.AccountNumber" /> | ||
<div class="col-md-9 col-sm-9"> | ||
<admin-input asp-for="BankAccount.AccountNumber" /> | ||
<span asp-validation-for="BankAccount.AccountNumber"></span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters