Addet aspire support pos.web and also addet the pictures for layout
@@ -20,4 +20,8 @@
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.1.7" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Pos.ServiceDefaults\Pos.ServiceDefaults.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -4,6 +4,8 @@ using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
builder.AddServiceDefaults();
|
||||
|
||||
// Services
|
||||
builder.Services.AddControllers();
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
@@ -13,6 +15,8 @@ builder.Services.AddScoped<EpsonPrintService>();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
app.MapDefaultEndpoints();
|
||||
|
||||
// Swagger (altid aktiv – vi er på en Pi, ikke i produktion)
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
},
|
||||
"EpsonPrinter": {
|
||||
"commandName": "Project",
|
||||
"dotnetRunMessages": "true",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "swagger",
|
||||
"applicationUrl": "https://localhost:5001;http://localhost:5000",
|
||||
|
||||
@@ -10,3 +10,9 @@ Buket..............1 á 50,50 DKK : 50,50 DKK
|
||||
Total: 50,50 DKK
|
||||
Moms udgør 25% : 12,63 DKK
|
||||
Tak for handlen
|
||||
Dato: 30-07-2026
|
||||
-----------------------------------
|
||||
string : .00
|
||||
-----------------------------------
|
||||
Total salg: .00
|
||||
Antal kunder: 0
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
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();
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Pos.Ui\Database\Database.csproj" />
|
||||
<ProjectReference Include="..\EpsonPrinterLinux\EpsonPrinter.csproj" />
|
||||
<ProjectReference Include="..\Pos.Web\Pos.Web.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<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.Icons" Version="4.14.2" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Pos.ServiceDefaults\Pos.ServiceDefaults.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -3,6 +3,8 @@ using Pos.Web.Components;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
builder.AddServiceDefaults();
|
||||
|
||||
// Add services to the container.
|
||||
builder.Services.AddRazorComponents()
|
||||
.AddInteractiveServerComponents();
|
||||
@@ -10,6 +12,8 @@ builder.Services.AddFluentUIComponents();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
app.MapDefaultEndpoints();
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
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 |