Addet aspire support pos.web and also addet the pictures for layout
@@ -20,4 +20,8 @@
|
|||||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.1.7" />
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.1.7" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Pos.ServiceDefaults\Pos.ServiceDefaults.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
@@ -4,6 +4,8 @@ using Microsoft.Extensions.DependencyInjection;
|
|||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
|
builder.AddServiceDefaults();
|
||||||
|
|
||||||
// Services
|
// Services
|
||||||
builder.Services.AddControllers();
|
builder.Services.AddControllers();
|
||||||
builder.Services.AddEndpointsApiExplorer();
|
builder.Services.AddEndpointsApiExplorer();
|
||||||
@@ -13,6 +15,8 @@ builder.Services.AddScoped<EpsonPrintService>();
|
|||||||
|
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
|
app.MapDefaultEndpoints();
|
||||||
|
|
||||||
// Swagger (altid aktiv – vi er på en Pi, ikke i produktion)
|
// Swagger (altid aktiv – vi er på en Pi, ikke i produktion)
|
||||||
app.UseSwagger();
|
app.UseSwagger();
|
||||||
app.UseSwaggerUI();
|
app.UseSwaggerUI();
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
},
|
},
|
||||||
"EpsonPrinter": {
|
"EpsonPrinter": {
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"dotnetRunMessages": "true",
|
"dotnetRunMessages": true,
|
||||||
"launchBrowser": true,
|
"launchBrowser": true,
|
||||||
"launchUrl": "swagger",
|
"launchUrl": "swagger",
|
||||||
"applicationUrl": "https://localhost:5001;http://localhost:5000",
|
"applicationUrl": "https://localhost:5001;http://localhost:5000",
|
||||||
|
|||||||
@@ -10,3 +10,9 @@ Buket..............1 á 50,50 DKK : 50,50 DKK
|
|||||||
Total: 50,50 DKK
|
Total: 50,50 DKK
|
||||||
Moms udgør 25% : 12,63 DKK
|
Moms udgør 25% : 12,63 DKK
|
||||||
Tak for handlen
|
Tak for handlen
|
||||||
|
Dato: 30-07-2026
|
||||||
|
-----------------------------------
|
||||||
|
string : .00
|
||||||
|
-----------------------------------
|
||||||
|
Total salg: .00
|
||||||
|
Antal kunder: 0
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
var builder = DistributedApplication.CreateBuilder(args);
|
var builder = DistributedApplication.CreateBuilder(args);
|
||||||
|
|
||||||
builder.AddProject<Projects.Database>("database");
|
var epsonPrinter =
|
||||||
|
builder.AddProject<Projects.EpsonPrinter>("epsonprinter");
|
||||||
|
|
||||||
|
builder
|
||||||
|
.AddProject<Projects.Pos_Web>("pos-web")
|
||||||
|
.WithReference(epsonPrinter)
|
||||||
|
.WaitFor(epsonPrinter);
|
||||||
|
|
||||||
builder.Build().Run();
|
builder.Build().Run();
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Pos.Ui\Database\Database.csproj" />
|
<ProjectReference Include="..\EpsonPrinterLinux\EpsonPrinter.csproj" />
|
||||||
|
<ProjectReference Include="..\Pos.Web\Pos.Web.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net10.0</TargetFramework>
|
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<IsAspireSharedProject>true</IsAspireSharedProject>
|
<IsAspireSharedProject>true</IsAspireSharedProject>
|
||||||
|
|||||||
@@ -11,4 +11,8 @@
|
|||||||
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components" Version="5.0.0-rc.4-26180.1" />
|
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components" Version="5.0.0-rc.4-26180.1" />
|
||||||
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components.Icons" Version="4.14.2" />
|
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components.Icons" Version="4.14.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Pos.ServiceDefaults\Pos.ServiceDefaults.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ using Pos.Web.Components;
|
|||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
|
builder.AddServiceDefaults();
|
||||||
|
|
||||||
// Add services to the container.
|
// Add services to the container.
|
||||||
builder.Services.AddRazorComponents()
|
builder.Services.AddRazorComponents()
|
||||||
.AddInteractiveServerComponents();
|
.AddInteractiveServerComponents();
|
||||||
@@ -10,6 +12,8 @@ builder.Services.AddFluentUIComponents();
|
|||||||
|
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
|
app.MapDefaultEndpoints();
|
||||||
|
|
||||||
// Configure the HTTP request pipeline.
|
// Configure the HTTP request pipeline.
|
||||||
if (!app.Environment.IsDevelopment())
|
if (!app.Environment.IsDevelopment())
|
||||||
{
|
{
|
||||||
|
|||||||
BIN
layout/DagensSalg.png
Normal file
|
After Width: | Height: | Size: 887 KiB |
BIN
layout/Forside.png
Normal file
|
After Width: | Height: | Size: 852 KiB |
BIN
layout/Indstillinger.png
Normal file
|
After Width: | Height: | Size: 864 KiB |
BIN
layout/Indstillinger/Medarbejder.png
Normal file
|
After Width: | Height: | Size: 922 KiB |
BIN
layout/Indstillinger/OpretMedarbejder.png
Normal file
|
After Width: | Height: | Size: 1011 KiB |
BIN
layout/Indstillinger/Vare.png
Normal file
|
After Width: | Height: | Size: 1019 KiB |
BIN
layout/PrintBon.png
Normal file
|
After Width: | Height: | Size: 931 KiB |
BIN
layout/Salg/Betaling.png
Normal file
|
After Width: | Height: | Size: 957 KiB |
BIN
layout/Salg/BetalingByttepenge.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |