hi I have 2 date inputs so i made a logic when changing on one of them another on will updated auto as code below when i tried same js code on normal html file it works perfectly when i use same code on ABP it doesn't work so is there a special something i should do first ??
<abp-column size="_4">
<abp-date-picker id="documentDate" auto-update-input="true" today-button-classes="btn-primary" asp-for="Purchase.DocumentDate" label="@L["DocumentDate"].Value" />
</abp-column>
<abp-column size="_4">
<abp-date-picker id="vendorInvoiceDate" auto-update-input="true" today-button-classes="btn-primary" asp-for="Purchase.VendorInvoiceDate" label="@L["VendorInvoiceDate"].Value" />
</abp-column>
<script>
const vendorInvoiceDate = document.getElementById('vendorInvoiceDate');
const documentDate = document.getElementById('documentDate');
vendorInvoiceDate.addEventListener('change', function (event) {
documentDate.value = event.target.value;
});
</script>
<Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="....\common.props" />
<PropertyGroup Label="Globals"> <SccProjectName>SAK</SccProjectName> <SccProvider>SAK</SccProvider> <SccAuxPath>SAK</SccAuxPath> <SccLocalPath>SAK</SccLocalPath> </PropertyGroup>
<PropertyGroup> <TargetFramework>net8.0</TargetFramework> <Nullable>enable</Nullable> <AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel> <RootNamespace>Horizon.HorizonERP.Web</RootNamespace> <AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType> <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> <MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish> <PreserveCompilationReferences>true</PreserveCompilationReferences> </PropertyGroup>
<ItemGroup Condition="Exists('./openiddict.pfx')"> <None Remove="openiddict.pfx" /> <EmbeddedResource Include="openiddict.pfx"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </EmbeddedResource> <ProjectReference Include="....\modules\Horizon.MainSetting\src\Horizon.MainSetting.Web\Horizon.MainSetting.Web.csproj" /><ProjectReference Include="....\modules\Horizon.HRMS1\src\Horizon.HRMS1.Web\Horizon.HRMS1.Web.csproj" /><ProjectReference Include="....\modules\Horizon.HRMS2\src\Horizon.HRMS2.Web\Horizon.HRMS2.Web.csproj" /><ProjectReference Include="....\modules\Horizon.MainAccounting\src\Horizon.MainAccounting.Web\Horizon.MainAccounting.Web.csproj" /><ProjectReference Include="....\modules\Horizon.CoreSetting\src\Horizon.CoreSetting.Web\Horizon.CoreSetting.Web.csproj" /><ProjectReference Include="....\modules\Horizon.Inventory\src\Horizon.Inventory.Web\Horizon.Inventory.Web.csproj" /><ProjectReference Include="....\modules\Horizon.EInvoice\src\Horizon.EInvoice.Web\Horizon.EInvoice.Web.csproj" /><ProjectReference Include="....\modules\Horizon.POS\src\Horizon.POS.Web\Horizon.POS.Web.csproj" /></ItemGroup>
<ItemGroup> <Compile Remove="Bundling\Reporting\Controllers*" /> <Compile Remove="Logs*" /> <Content Remove="Bundling\Reporting\Controllers*" /> <Content Remove="Logs*" /> <EmbeddedResource Remove="Bundling\Reporting\Controllers*" /> <EmbeddedResource Remove="Logs*" /> <None Remove="Bundling\Reporting\Controllers*" /> <None Remove="Logs*" /> </ItemGroup>
<ItemGroup> <Content Include="Pages**.js"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Pages**.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> </ItemGroup> <PropertyGroup> <ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles> </PropertyGroup> <ItemGroup> <None Include="Themes\LeptonX\Components\Common\GeneralSettings\Default.cshtml" /> <None Include="Themes\LeptonX\Components\Common\MobileGeneralSettings\Default.cshtml" /> </ItemGroup>
<ItemGroup> <PackageReference Include="AspNetCore.HealthChecks.UI" Version="7.0.2" /> <PackageReference Include="AspNetCore.HealthChecks.UI.Client" Version="7.1.0" /> <PackageReference Include="DevExpress.AspNetCore.Reporting" Version="23.2.4" /> <PackageReference Include="DevExtremeAI" Version="8.0.0" /> <PackageReference Include="Hangfire.SqlServer" Version="1.8.14" /> <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.0" /> <PackageReference Include="AspNetCore.HealthChecks.UI.InMemory.Storage" Version="7.0.0" /> <PackageReference Include="Serilog.AspNetCore" Version="8.0.0" /> <PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="8.0.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="8.0.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.Twitter" Version="8.0.0" /> <PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="8.0.0" /> <PackageReference Include="DistributedLock.Redis" Version="1.0.2" /> <PackageReference Include="Volo.Abp.BackgroundJobs.HangFire" Version="8.2.0" /> </ItemGroup>
<ItemGroup> <PackageReference Include="Volo.Payment.Admin.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.Alipay.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.Iyzico.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.PayPal.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.Payu.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.Stripe.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.TwoCheckout.Web" Version="8.0.2" /> <PackageReference Include="Volo.Payment.Web" Version="8.0.2" /> <ProjectReference Include="..\Horizon.HorizonERP.Application\Horizon.HorizonERP.Application.csproj" /> <PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" Version="8.0.2" /> <PackageReference Include="Volo.Abp.DistributedLocking" Version="8.0.2" /> <ProjectReference Include="..\Horizon.HorizonERP.HttpApi\Horizon.HorizonERP.HttpApi.csproj" /> <ProjectReference Include="..\Horizon.HorizonERP.EntityFrameworkCore\Horizon.HorizonERP.EntityFrameworkCore.csproj" /> <PackageReference Include="Volo.Abp.Autofac" Version="8.0.2" /> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="8.0.2" /> <PackageReference Include="Volo.Abp.AspNetCore.Authentication.JwtBearer" Version="8.0.2" /> <PackageReference Include="Volo.Abp.Swashbuckle" Version="8.0.2" /> <PackageReference Include="Volo.Abp.FeatureManagement.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.OpenIddict" Version="8.0.2" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.AuditLogging.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.Identity.Pro.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.OpenIddict.Pro.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.LanguageManagement.Web" Version="8.0.2" /> <PackageReference Include="Volo.Saas.Host.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.TextTemplateManagement.Web" Version="8.0.2" /> <PackageReference Include="Volo.Abp.Gdpr.Web" Version="8.0.2" /> <PackageReference Include="Volo.CmsKit.Pro.Admin.Web" Version="8.0.2" /> </ItemGroup>
<ItemGroup> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="3.0.-" /> </ItemGroup>
<ItemGroup> <Folder Include="wwwroot\images\employee" /> <Folder Include="wwwroot\images\paymentMethod" /> </ItemGroup>
</Project>
hi lian for company rights i can't share the project but i can explain what i did first of all i have multiproject modularity so i have web and web.public all my work within web layer *** WebModule file 1- i added this code typeof(AbpBackgroundJobsHangfireModule)
2- ConfigureHangfire
ok i'm waiting thanks
hi anjali what should i do with githup?? and i used hangfir manager job not workers i just want to know the reason of this error and what should i do? i followed the steps as it is
hi according to this artice https://abp.io/docs/8.2/framework/infrastructure/background-jobs/hangfire i followed the steps 1- Install-Package Volo.Abp.BackgroundJobs.HangFire 2- add package Hangfire.SqlServer --version 1.8.14 3- Configuration but i got this error so what are information from me to provided with to know the error ?
hi i faced non logical error after build angular project and publish in IIS Server this error doesn't appear in development phase what is that and how to solve it note: i started new project for test (abp new projectName -u angular) and faced same error