product details
This commit is contained in:
parent
ec971c0b00
commit
61845516af
4 changed files with 128 additions and 72 deletions
|
@ -1,15 +0,0 @@
|
|||
@using Wonky.Client.Components
|
||||
@using System.Text.Json
|
||||
@page "/catalog/item/{SalesItemId}"
|
||||
|
||||
<h3>CatalogCountryProductPage</h3>
|
||||
|
||||
@if (!string.IsNullOrWhiteSpace(_item.Sku))
|
||||
{
|
||||
@JsonSerializer.Serialize(_item)
|
||||
}
|
||||
|
||||
@if (_working)
|
||||
{
|
||||
<WorkingThreeDots />
|
||||
}
|
71
Wonky.Client/Pages/CatalogProductDetailPage.razor
Normal file
71
Wonky.Client/Pages/CatalogProductDetailPage.razor
Normal file
|
@ -0,0 +1,71 @@
|
|||
@using Wonky.Client.Components
|
||||
@using System.Text.Json
|
||||
@page "/catalog/item/{SalesItemId}"
|
||||
|
||||
|
||||
@if (!string.IsNullOrWhiteSpace(_item.Sku))
|
||||
{
|
||||
<PageTitle>Produkt Info @_item.Name</PageTitle>
|
||||
<h3>Produkt Info @_item.Name</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td rowspan="10">
|
||||
<img src="@(_item.PictureLink)?width=300" alt="@_item.Name"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
navn
|
||||
</td>
|
||||
<td>
|
||||
@_item.Name
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
varenr
|
||||
</td>
|
||||
<td>
|
||||
@_item.Sku
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
belgisk varenr
|
||||
</td>
|
||||
<td>
|
||||
@_item.VendorItemNo
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>kort navn</td>
|
||||
<td>
|
||||
@_item.ShortName
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>udgået</td>
|
||||
<td>@_item.Discontinued</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>pakke størrelse</td>
|
||||
<td>@_item.BoxSize</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>dokumenter</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
|
||||
@if (_working)
|
||||
{
|
||||
<WorkingThreeDots />
|
||||
}
|
|
@ -8,7 +8,7 @@ using Wonky.Entity.Views;
|
|||
|
||||
namespace Wonky.Client.Pages;
|
||||
|
||||
public partial class CatalogCountryProductPage
|
||||
public partial class CatalogProductDetailPage
|
||||
{
|
||||
// ##############################################################
|
||||
[Inject] public HttpInterceptorService Interceptor { get; set; }
|
|
@ -1,60 +1,60 @@
|
|||
{
|
||||
"appInfo": {
|
||||
"name": "Wonky Online",
|
||||
"version": "205.0",
|
||||
"rc": true,
|
||||
"sandBox": true,
|
||||
"image": "grumpy-coder.png",
|
||||
"sdk": "dotnet 7.0"
|
||||
"appInfo": {
|
||||
"name": "Wonky Online",
|
||||
"version": "208.0",
|
||||
"rc": true,
|
||||
"sandBox": true,
|
||||
"image": "grumpy-coder.png",
|
||||
"sdk": "dotnet 7.0"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Debug",
|
||||
"System": "Debug",
|
||||
"Microsoft": "Information"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Debug",
|
||||
"System": "Debug",
|
||||
"Microsoft": "Information"
|
||||
},
|
||||
"Debug": {
|
||||
"LogLevel": {
|
||||
"Default": "Critical"
|
||||
}
|
||||
}
|
||||
},
|
||||
"apiConfig": {
|
||||
"assetUrl": "https://files.innotec.dk",
|
||||
"baseUrl": "https://dev.innotec.dk",
|
||||
"catalog": "api/v2/catalog/country",
|
||||
"crmCustomers": "api/v2/crm/companies",
|
||||
"crmReports": "api/v2/crm/advisors/reports",
|
||||
"crmActivities": "api/v2/crm/advisors/activities",
|
||||
"crmTasks": "api/v2/crm/advisors/tasks",
|
||||
"officeBase": "api/v2/office",
|
||||
"officeActivities": "api/v2/office/activities",
|
||||
"officeAdvisors": "api/v2/office/users/advisors",
|
||||
"officeCustomers": "api/v2/office/customers",
|
||||
"officeReports": "api/v2/office/reports",
|
||||
"officeUsers": "api/v2/office/users/admin",
|
||||
"publicProducts": "api/v2/public/products",
|
||||
"serviceAuth": "v2/token",
|
||||
"serviceGlsId": "",
|
||||
"serviceGlsTrack": "https://gls-group.eu/track/",
|
||||
"serviceMail": "api/v2/services/sendmail",
|
||||
"serviceSms": "api/v2/services/sms",
|
||||
"serviceVatDk": "api/v2/services/virk",
|
||||
"serviceVatEu": "api/v2/services/vies",
|
||||
"serviceVatNo": "api/v2/services/brReg",
|
||||
"serviceVatSe": "api/v2/services/allabolag",
|
||||
"sync": "api/v2/sync",
|
||||
"syncInvoice": "api/v2/sync/invoices",
|
||||
"systemDocStringUrl": "api/v2/admin/doc",
|
||||
"systemLabels": "api/v2/admin/doc/labels",
|
||||
"systemTexts": "api/v2/admin/doc/texts",
|
||||
"userInfoClient": "/api/v2/client/users",
|
||||
"userInfoAuth": "api/v2/auth/userinfo",
|
||||
"userManager": "api/v2/app/manage/users",
|
||||
"userManagerSetPasswd": "api/v2/app/manage/passwd",
|
||||
"userRoles": "api/v2/app/manage/roles",
|
||||
"userSupport": "/api/v2/app/manage/support",
|
||||
"warehouse": "api/v2/warehouse/packages",
|
||||
"b2bCustomer": "api/v2/b2b"
|
||||
"Debug": {
|
||||
"LogLevel": {
|
||||
"Default": "Critical"
|
||||
}
|
||||
}
|
||||
},
|
||||
"apiConfig": {
|
||||
"assetUrl": "https://files.innotec.dk",
|
||||
"baseUrl": "https://dev.innotec.dk",
|
||||
"catalog": "api/v2/catalog/country",
|
||||
"crmCustomers": "api/v2/crm/companies",
|
||||
"crmReports": "api/v2/crm/advisors/reports",
|
||||
"crmActivities": "api/v2/crm/advisors/activities",
|
||||
"crmTasks": "api/v2/crm/advisors/tasks",
|
||||
"officeBase": "api/v2/office",
|
||||
"officeActivities": "api/v2/office/activities",
|
||||
"officeAdvisors": "api/v2/office/users/advisors",
|
||||
"officeCustomers": "api/v2/office/customers",
|
||||
"officeReports": "api/v2/office/reports",
|
||||
"officeUsers": "api/v2/office/users/admin",
|
||||
"publicProducts": "api/v2/public/products",
|
||||
"serviceAuth": "v2/token",
|
||||
"serviceGlsId": "",
|
||||
"serviceGlsTrack": "https://gls-group.eu/track/",
|
||||
"serviceMail": "api/v2/services/sendmail",
|
||||
"serviceSms": "api/v2/services/sms",
|
||||
"serviceVatDk": "api/v2/services/virk",
|
||||
"serviceVatEu": "api/v2/services/vies",
|
||||
"serviceVatNo": "api/v2/services/brReg",
|
||||
"serviceVatSe": "api/v2/services/allabolag",
|
||||
"sync": "api/v2/sync",
|
||||
"syncInvoice": "api/v2/sync/invoices",
|
||||
"systemDocStringUrl": "api/v2/admin/doc",
|
||||
"systemLabels": "api/v2/admin/doc/labels",
|
||||
"systemTexts": "api/v2/admin/doc/texts",
|
||||
"userInfoClient": "/api/v2/client/users",
|
||||
"userInfoAuth": "api/v2/auth/userinfo",
|
||||
"userManager": "api/v2/app/manage/users",
|
||||
"userManagerSetPasswd": "api/v2/app/manage/passwd",
|
||||
"userRoles": "api/v2/app/manage/roles",
|
||||
"userSupport": "/api/v2/app/manage/support",
|
||||
"warehouse": "api/v2/warehouse/packages",
|
||||
"b2bCustomer": "api/v2/b2b"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue