Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
432 commits
Select commit Hold shift + click to select a range
d623bc6
Blazor SSR
medhatelmasry Jul 26, 2024
64f1381
deleted extra sln files
medhatelmasry Jul 26, 2024
83a1282
different routes for two ChartOfAccounts.razor
medhatelmasry Jul 26, 2024
93756e3
renamed blazor .yml to .gold
medhatelmasry Jul 26, 2024
e2638d9
diabled api & mvc yml
medhatelmasry Jul 26, 2024
9daf292
Add or update the Azure App Service build and deployment workflow config
medhatelmasry Jul 26, 2024
d8d84d3
updated gdbblazor.yml to use the blazor prj
medhatelmasry Jul 26, 2024
765d290
added blazor menu
medhatelmasry Jul 26, 2024
0fe0d5b
fixed error in blazor yml file
medhatelmasry Jul 26, 2024
eda32fe
enabled MVC and MVC workflow files
medhatelmasry Jul 26, 2024
695f47c
workflow .yml.disable to .yml
medhatelmasry Jul 26, 2024
5e078e2
tried 3 types of render mode on login.razor
medhatelmasry Jul 26, 2024
9ced2ab
fixed chart-of-accounts in client blazor project
medhatelmasry Jul 26, 2024
df5742d
Replaced chart of accounts in the MVC app with a blazor component.
medhatelmasry Jul 29, 2024
f15dee1
[fix] Removed active for solving the error that remains tab_1 after c…
ydongchoi Jul 29, 2024
a5e6e23
[feature] Add New Tax Button to Create Tax Info.
ydongchoi Jul 29, 2024
e79c624
tried to fix wasm
medhatelmasry Jul 30, 2024
8429868
[feature] Created AddNewTax Page when tax group and item tax group wa…
ydongchoi Jul 31, 2024
fc3adae
[feature] Created GetView of AddNewTax and Post Action to Api in TaxC…
ydongchoi Jul 31, 2024
5692d6f
[feature] Created TaxForCreation Dto for between mvc app and api server.
ydongchoi Jul 31, 2024
9c19bf4
[feature] Created addnewtax action method to insert new tax to tax re…
ydongchoi Jul 31, 2024
0593180
[feature] Added Button to create TaxGroup and Item Tax Group.
ydongchoi Jul 31, 2024
a29fc78
[feature] Added Modal to create TaxGroup and Item Tax Group.
ydongchoi Jul 31, 2024
850bba9
[feature] Added Edit, Delete Button in Tax Table.
ydongchoi Jul 31, 2024
6b4c199
[feature] Added feature that pass taxId in table row to DeleteTax Act…
ydongchoi Aug 1, 2024
010a6c6
[feature] Created DeleteTax Action Method in TaxController of MVC app.
ydongchoi Aug 1, 2024
f8ba03b
[feature] Created DeleteTax in TaxController of Api.
ydongchoi Aug 1, 2024
ae22e8f
[feature] Created DeleteTax Method in AdministrationService.
ydongchoi Aug 1, 2024
ae664d4
[fix] Changed taxId to id to solve synyax error unmatched.
ydongchoi Aug 1, 2024
c03e798
[fix] removed the code related to popover in script tag.
ydongchoi Aug 2, 2024
66f6bd0
[feature] Implemented updateTax function to transfer tax-related data…
ydongchoi Aug 2, 2024
bf30809
[refactor] Refactor AddNewTax in Controller.
ydongchoi Aug 3, 2024
4e7cc67
[feature] Added AutoMapper for mapping between Dto and Entity.
ydongchoi Aug 3, 2024
eeaf6ea
[fix] changed CreateTax for using AutoMapper.
ydongchoi Aug 4, 2024
2c99408
[fix] modified mapper parameter.
ydongchoi Aug 4, 2024
13677e2
[feature] Added Validation Filter for AddNewTax action method.
ydongchoi Aug 5, 2024
0f702a3
[feature] Added deletetax action method in TaxController.
ydongchoi Aug 5, 2024
d2512cb
[feature] Added deletetax and edittax action method in TaxController.
ydongchoi Aug 5, 2024
48ef003
[chore] Removed MappingProfile class.
ydongchoi Aug 5, 2024
ef0b1f2
[fix] refactored Edit Tax Action method and added validation filter.
ydongchoi Aug 6, 2024
91a65a2
[fix] CreateMap for mapping TaxDto to TaxEntity,
ydongchoi Aug 6, 2024
b15d57b
[chore] Removed Required Data Annotation.
ydongchoi Aug 6, 2024
add2ae1
[feature] Created EditTax Method and fixed CreateTax Method in Admini…
ydongchoi Aug 6, 2024
43f83bf
[fix] Added Include to add multiple entities.
ydongchoi Aug 6, 2024
d363625
[feature] Created Edit Tax Page, Action Method, View Model.
ydongchoi Aug 6, 2024
86c2545
[chore] Modified accountgo.sln.
ydongchoi Aug 6, 2024
62346aa
[feature] Created check logic wheter Tax data already exists or not.
ydongchoi Aug 6, 2024
434efcd
[feature] Added the feature creating TaxGroup, ItemTaxGroup in Accoun…
ydongchoi Aug 7, 2024
5cff546
[feature] Added the feature creating TaxGroup and ItemTaxGroup in Api…
ydongchoi Aug 7, 2024
e4dd23e
[fix] added ; to fix error.
ydongchoi Aug 7, 2024
1d35f8b
[featue] Added ViewModel for Tax System.
ydongchoi Aug 8, 2024
fb74d07
[feature] Added AutoMapper for mapping between Dto and View Model.
ydongchoi Aug 8, 2024
f08fb3e
[feature] Added span tag for value Validation in EditTax Page.
ydongchoi Aug 8, 2024
b0e1447
[feature] Applied Mapper and Map Between Dto and ViewModel.
ydongchoi Aug 8, 2024
83a3ea9
[feature] Added ModelState Validation Logic in AddNewTax action method.
ydongchoi Aug 11, 2024
b204246
[fix] Changed class in span tag for validation.
ydongchoi Aug 11, 2024
081f346
[fix] Changed TaxName, TaxCode MaxLength.
ydongchoi Aug 11, 2024
55fa6bb
[feature] Added DeleteTaxGroup and ItemTaxGroup feature in AccountGoW…
ydongchoi Aug 12, 2024
e1d05be
updated nullable in projects dto & api
medhatelmasry Aug 12, 2024
208261e
fixed nullables
medhatelmasry Aug 12, 2024
09d1094
[fix] Removed the condition that finds the tax that has same rate.
ydongchoi Aug 13, 2024
ffb1ab8
edits on Tax System
medhatelmasry Aug 13, 2024
951c019
[feature] Applied Result Pattern to AddNewTax Service.
ydongchoi Aug 13, 2024
5df00ea
[feature] Applied Result Pattern to Delete Tax/TaxGroup/Item TaxGroup…
ydongchoi Aug 14, 2024
390db60
[feature] Applied Reulst Patternto Edit Tax Feature.
ydongchoi Aug 14, 2024
c7e9b57
[feature] Added Async Features to Tax System.
ydongchoi Aug 15, 2024
8894baf
[fix] Changed to the code of ChartOfAccounts.razor in endpoint_sahil …
ydongchoi Aug 15, 2024
c08cf64
Merge branch 'endpoint_sahil' into 24-adddeleteedit-taxes
ydongchoi Aug 15, 2024
8d1a2be
Merge pull request #41 from medhatelmasry/24-adddeleteedit-taxes
medhatelmasry Aug 15, 2024
0ffdc4b
Display Name = Fully Exempt
medhatelmasry Aug 15, 2024
d50d837
[fix] Changed addRowBtn to nullable.
ydongchoi Aug 17, 2024
975edff
[fix] Changed danger to text-danger in class of tag.
ydongchoi Aug 17, 2024
9d1656b
[fix] Added Sales to Endpoint to get SalesInvoice View.
ydongchoi Aug 18, 2024
aa0df11
[fix] changed href when clicking close button.
ydongchoi Aug 18, 2024
336e9a3
[fix] Changed value in a tag to Edit.
ydongchoi Aug 18, 2024
96d1a05
[fix] Activate Form tag to edit sales invoice.
ydongchoi Aug 18, 2024
a187d72
[fix] Added SalesInvoiceLines id to Dto for edit Sales Invoice.
ydongchoi Aug 19, 2024
ddf5771
[feature] Added style to selected row.
ydongchoi Aug 19, 2024
a0354a4
[fix] Changed Style in SalesInvoices.
ydongchoi Aug 19, 2024
d383926
[fix] Modified AddSalesInvoice API Endpoint.
ydongchoi Aug 21, 2024
b7aea28
[feature] Added Mapper for mapping SalesInvoiceDto to SalesOrder and …
ydongchoi Aug 21, 2024
44b9d04
[feature] Added CreateSalesInvoice Action Method in SalesController.
ydongchoi Aug 21, 2024
09ac418
[feature] Added CreateSalesInvoice Service.
ydongchoi Aug 21, 2024
ef38b07
[feature] Added input tag for storing No, PaymentTermId.
ydongchoi Aug 22, 2024
9c455f7
[feature] Created SalesInvoice Post Action Method for Updating SalesI…
ydongchoi Aug 22, 2024
86c28d7
[feature] Added Logic considering Update of SalesInvoice in AutoMapper.
ydongchoi Aug 22, 2024
b104836
[feature] Added UpdateSalesInvoice Action method.
ydongchoi Aug 22, 2024
7083f93
[feature] Implemented UpdateSalesInvoice method in Service.
ydongchoi Aug 22, 2024
eab05b6
[fix] Added No Property in salesInvoiceDto.
ydongchoi Aug 22, 2024
f1a5191
[feature] Added Delete feature in SalesInvoices.
ydongchoi Aug 23, 2024
1ea0aa7
[feature] Added Delete Feature of SalesInvoice in API.
ydongchoi Aug 23, 2024
137f9aa
[feature] Commented Audit feature to implement that feature later.
ydongchoi Aug 23, 2024
cb220af
[fix] Added Logic If Model State is not valid.
ydongchoi Aug 24, 2024
a3b15e8
[feature] Added SalesInvoice Validation using span tag.
ydongchoi Aug 24, 2024
9e0c002
[fix] removed required to maintain consistency of validation msg.
ydongchoi Aug 24, 2024
23abbaa
[feature] Added null check logic of amount and quantity.
ydongchoi Aug 24, 2024
4936ff2
[feature] Added Validation Check and Error Message.
ydongchoi Aug 24, 2024
22bbe8f
sales invoice total two decimal places
medhatelmasry Aug 26, 2024
0a5ef52
[fix] Added Viewbag.TotalAmount to prevent null values ​​when renderi…
ydongchoi Aug 26, 2024
6b75fff
Merge pull request #42 from medhatelmasry/22-bug-in-accounts-receivab…
medhatelmasry Aug 26, 2024
25f25d3
[feature] Added submenu named Sales Proposal.
ydongchoi Aug 30, 2024
8ce6ff1
[feature] Added Controller, View, nav-link for Sales Proposal Page.
ydongchoi Aug 30, 2024
5c754f6
[feature] Added SalesProposal Entity and Status in Domain.
ydongchoi Sep 5, 2024
07971cc
[chore] Modified file name.
ydongchoi Sep 5, 2024
b25caff
[fix] Modified Property Name from PricePerUnit To Amount.
ydongchoi Sep 5, 2024
aab8d89
[fix] Modified SalesProposal Entity more readable.
ydongchoi Sep 5, 2024
5077c1c
[feature] Added SalesProposal Dto.
ydongchoi Sep 5, 2024
59dc107
[feature] Added DbSet and Configuration for SalesProposal.
ydongchoi Sep 5, 2024
53f6afb
[feature] Added GetAllIncludingAsNoTracking Method.
ydongchoi Sep 6, 2024
fe20a25
[feature] Added GetSalesProposalsAsync in SalesService.
ydongchoi Sep 6, 2024
afdd67a
[feature] Added GetSalesProposals Action Method in SalesController.
ydongchoi Sep 6, 2024
80c53f2
[feature] Created Mapping Rule Between Dto.SalesProposal and Core.Dom…
ydongchoi Sep 6, 2024
a25c543
[feature] Added EF Core Package.
ydongchoi Sep 6, 2024
6d7129b
[fix] Modified Sales Proposal Property and Order of Properties.
ydongchoi Sep 6, 2024
9759052
[fix] Modified the Name of variable to Total Amount
ydongchoi Sep 7, 2024
1cd10bc
[feature] Created SalesProposalForCreation Dto.
ydongchoi Sep 7, 2024
49b4147
[feature] Added Null Error Code in Error.
ydongchoi Sep 7, 2024
99c5b3a
[fix] Added HttpMethod to Account Action method.
ydongchoi Sep 9, 2024
1da4665
[fix] Modified Routing in Delete Tax, TaxGroup, Item Tax Group for a …
ydongchoi Sep 9, 2024
a104f44
[feature] Added Swagger Configuration and Swagger.
ydongchoi Sep 9, 2024
3d98fb2
[feature] Added Swagger in Program class.
ydongchoi Sep 9, 2024
e39b786
[feature] Added the feature that create sales proposals in dto, mappi…
ydongchoi Sep 10, 2024
5ca8fae
[feature] Added DeleteSalesProposal Feature in controller, service, r…
ydongchoi Sep 11, 2024
ebc9dca
[feature] Added SalesProposalForUpdate Dto.
ydongchoi Sep 12, 2024
d3953fc
[feature] Added Mapping Rule for SalsProposalForUpdate and UpdateSale…
ydongchoi Sep 15, 2024
2a25dda
[fix] Fixed SalesProposalStatus Type for mapping the domain.
ydongchoi Sep 15, 2024
ede0cd4
[fix] fixed the type of SalesProposalForCreation and Update Dto.
ydongchoi Sep 23, 2024
7dcf7c2
[feature] Added TrackChanges in Get, Update, Delete Sales Proposal to…
ydongchoi Sep 23, 2024
8faa881
[fix] Fixed Mapping Rule of Status in SalesProposalForUpdate.
ydongchoi Sep 23, 2024
cefc23f
[feature] Added UpdateSalesProposal Action Method and Created trackCh…
ydongchoi Sep 23, 2024
781debe
[fix] Fixed End Point to get sales proposals from api server.
ydongchoi Sep 24, 2024
0de2239
[fix] Fixed Table Column Defs in Sales Proposals Page.
ydongchoi Sep 24, 2024
32ed855
[fix] Removed SideBar Sales Quotations Menu in a Page Layout.
ydongchoi Sep 24, 2024
f94bfeb
[featured] Added Edit, Delete, New order button visualization when cl…
ydongchoi Sep 26, 2024
910297a
[fix] removed console.log.
ydongchoi Sep 26, 2024
c608741
[feature] Added Delete Modal and Delete API Request in Proposals.
ydongchoi Oct 3, 2024
3d28bf2
[fix] Modified Table Column and Design.
ydongchoi Oct 3, 2024
64d8269
[feature] Added AddSalesProposal View with Calendar Validation Check.
ydongchoi Oct 4, 2024
b03738e
feat : Added SaveDraft Button.
ydongchoi Oct 5, 2024
8b6d6ba
feat : Added the validation feature of start, expiry, delivery date.
ydongchoi Oct 5, 2024
a60c722
feat : Added Description of Sales Proposal.
ydongchoi Oct 6, 2024
f90214c
chore : Added Comment about Delivery Date.
ydongchoi Oct 6, 2024
fac7b30
feat : Added the feature that set statusId when clicking save draft a…
ydongchoi Oct 7, 2024
a1b82f5
fix : Fixed a configuration error that prevented loading ApiUrl due t…
ydongchoi Oct 7, 2024
194f0b0
feat : Implemented Action Method of GET/POST SalesProposal.
ydongchoi Oct 7, 2024
f9527f3
chore : Added AspNetCore.Mvc namespace.
ydongchoi Oct 7, 2024
a9d4e49
fix : Changed the position of Description.
ydongchoi Oct 7, 2024
e48deb5
fix : fixed StatusId Mapping Error.
ydongchoi Oct 8, 2024
dfe8d2e
fix : Fixed a bug in the inner HTML that allowed for infinite string …
ydongchoi Oct 8, 2024
0de6085
fix : Implemented the feature to set "No" in the Sales Proposal.
ydongchoi Oct 8, 2024
b40a800
fix : Fixed innerHTML of New Order Button to represent current proposal.
ydongchoi Oct 8, 2024
00474a1
feat : Added Start, Expiry Date Property in SalesProposalHeaer Domain.
ydongchoi Oct 10, 2024
61067b2
feat : Added Start, Expiry Date in SalesProposal DTO.
ydongchoi Oct 10, 2024
b86700c
feat : Added Start, Expiry Column in SalesProposals Table.
ydongchoi Oct 10, 2024
82c821a
[feat] Added asp-for to set value in Start, Expiry, Delivery Date.
ydongchoi Oct 10, 2024
2c8b342
feat : Implemented GetSalesProposalById API.
ydongchoi Oct 10, 2024
25d306f
feat: Developed functionality to display ViewSalesProposal upon click…
ydongchoi Oct 17, 2024
ec34134
feat : Changed to Inactive when clicking a Sales Proposal in Draft st…
ydongchoi Oct 17, 2024
f05bbbc
feat : Added tooltip for explainig the status of Sales Proposal.
ydongchoi Oct 17, 2024
1dacf64
fix : Added Detailed Info about Open Status in Sales Proposal.
ydongchoi Oct 17, 2024
aa6581f
feat : Implemented ViewSalesProposal Action method when post
ydongchoi Oct 29, 2024
d8624e8
feat : Implemented ViewSalesProposal View.
ydongchoi Oct 29, 2024
beb7831
fix: Change HttpPut to HttpPost for form tag compatibility.
ydongchoi Oct 29, 2024
acbb015
fix: Change int to enum type casting.
ydongchoi Oct 29, 2024
577e8b6
feat: Implement action method for editing sales proposals.
ydongchoi Oct 29, 2024
6a68596
feat: Implemented view for editing sales proposals.
ydongchoi Oct 29, 2024
217fae6
fix: Add cases for accepted and rejected status circle icons
ydongchoi Oct 29, 2024
bc000a0
feat: Add mapper for SalesProposal and SalesProposalForUpdate.
ydongchoi Oct 29, 2024
6401c64
feat: Updated Sales Proposal Status to "Expired" When Current Time Ex…
ydongchoi Oct 29, 2024
91c369f
fix: Prevented Status Change Between Accepted, Rejected and Overdue o…
ydongchoi Oct 30, 2024
8f48592
fix: Prevented proceeding to new orders when the sales proposal statu…
ydongchoi Oct 31, 2024
ae5e273
fix: Changed <select> tag to <input> tag with readonly attribute.
ydongchoi Oct 31, 2024
0945e1e
feat : Changed Date Format using ISO Format.
ydongchoi Nov 4, 2024
aca6e3d
fix : Adjusted column size and repositioned the new order tag to the …
ydongchoi Nov 4, 2024
24b42a1
fix : Resolved the issus that redirects to Proposals Page when clicki…
ydongchoi Nov 4, 2024
31fe67c
fix : Add href attribute for the new order click action.
ydongchoi Nov 4, 2024
f60598b
feat : Implemented CAD representation for improved readability of the…
ydongchoi Nov 4, 2024
a1f70ee
fix : Enhanced explanation of status in the tooltip.
ydongchoi Nov 4, 2024
8a18d20
I noticed there were some small syntax errors in the account go project.
breader1 Nov 8, 2024
ad6f541
Merge pull request #49 from medhatelmasry/breader-generic-fixes
medhatelmasry Nov 8, 2024
9da86d9
Update gdbblazor.yml
medhatelmasry Nov 8, 2024
1f6d6e5
Update gdbblazor.yml
medhatelmasry Nov 8, 2024
5344a7d
fix : Removed UpdateSalesProposalsStatusIfExpired in favor of using H…
ydongchoi Nov 15, 2024
39b6f3a
chore : Included hangfire package for background jobs.
ydongchoi Nov 15, 2024
a575211
feature : Implemented ConfigureHangfire extension method.
ydongchoi Nov 15, 2024
350fd22
chore : Added HangfireConnection in appsettings.json
ydongchoi Nov 15, 2024
fdc9a43
feature : Implemented ExpiryCheckJobService to run every minute, veri…
ydongchoi Nov 15, 2024
3a2ca65
feature : ConfigureHangfire and AddService in IoC Container.
ydongchoi Nov 15, 2024
0434285
initialized branch for debug/8-income-report
rizgif Nov 21, 2024
6f1280f
updated income method
rizgif Nov 21, 2024
563f886
Github Issue 45 - Seed Data through migrations in the API project - D…
ssidhu271 Nov 21, 2024
7bd9c3f
Merge branch 'endpoint_sahil' into SS001_SeedData_Comp4976
ssidhu271 Nov 21, 2024
77afbf7
init
chosm7489 Nov 21, 2024
60aa12f
Debugged Income Statement report
rizgif Nov 21, 2024
b637442
added blank data option for balance sheet
davinleong Nov 21, 2024
e4e4c75
added null check for balance sheet model
davinleong Nov 21, 2024
9dc463e
fixed issue for query of contra account
davinleong Nov 21, 2024
aabeefa
added CRA
chosm7489 Nov 22, 2024
e1378ed
Merge pull request #55 from medhatelmasry/SS001_SeedData_Comp4976
medhatelmasry Nov 22, 2024
7d8ea46
Rename gdbblazor.yml to gdbblazor.yml.flat
medhatelmasry Nov 22, 2024
ba3f807
Rename gdb_mvc_tar.yml to gdb_mvc_tar.yml.flat
medhatelmasry Nov 22, 2024
0ad6a2e
Rename gdb_api.yml to gdb_api.yml.flat
medhatelmasry Nov 22, 2024
6cddc73
Add or update the Azure App Service build and deployment workflow config
medhatelmasry Nov 23, 2024
733171c
copied yml files to actions folder
medhatelmasry Nov 23, 2024
cb83a7e
Update endpoint_sahil_gdbapi.yml
medhatelmasry Nov 23, 2024
6b00288
Update endpoint_sahil_gdbapi.yml
medhatelmasry Nov 23, 2024
1186c02
Update endpoint_sahil_gdbapi.yml
medhatelmasry Nov 23, 2024
dcda8b5
Update endpoint_sahil_gdbapi.yml
medhatelmasry Nov 23, 2024
d4ed37a
Merge pull request #58 from medhatelmasry/SM03_Mig
parinrava Nov 24, 2024
4f6b200
Merge pull request #57 from medhatelmasry/9-balance-sheet-null
medhatelmasry Nov 28, 2024
402b263
Merge pull request #59 from medhatelmasry/4-Add-CRA
medhatelmasry Nov 28, 2024
270435e
Merge branch 'endpoint_sahil' into debug/8-income-report
medhatelmasry Dec 3, 2024
546b813
Merge pull request #56 from medhatelmasry/debug/8-income-report
medhatelmasry Dec 3, 2024
04e7db6
Add or update the Azure App Service build and deployment workflow config
medhatelmasry Dec 3, 2024
c4da12d
updated mvc yml file
medhatelmasry Dec 3, 2024
e718b4d
Update gdb_mvc_tar.yml.flat
medhatelmasry Dec 3, 2024
4b5f69f
Add IFinancialService interface and FinancialService implementation w…
mika-em Dec 4, 2024
9d2a546
register financial service in Program.cs in Api
mika-em Dec 4, 2024
eeb05eb
restored old MVC YML from Nov 2024
medhatelmasry Dec 4, 2024
0250b6e
fixed BlazorGDB, Program.cs
medhatelmasry Dec 4, 2024
7a7ecea
replaced azure IS with a new set of IDs from a recent YML file pointi…
medhatelmasry Dec 4, 2024
18d1680
changed line 100 in MVC YML to gdbmvc
medhatelmasry Dec 4, 2024
295b9b5
using runner.temp in MVC yml file
medhatelmasry Dec 4, 2024
a08704c
Integrate AccountService into FinancialsController and resolve duplic…
mika-em Dec 4, 2024
7e106c1
Merge branch 'endpoint_sahil' of https://github.com/medhatelmasry/Goo…
mika-em Dec 4, 2024
720397c
bug fix: remove duplicate function in IFinancialService
mika-em Dec 4, 2024
dfbcfc2
bug fix: remove unnecessary AppDbContext registration in Program.cs
mika-em Dec 4, 2024
0b48e7b
added debug info to mvc yml file
medhatelmasry Dec 4, 2024
6cc1efe
Merge branch 'endpoint_sahil' of https://github.com/medhatelmasry/Goo…
medhatelmasry Dec 4, 2024
09c0c29
added debug info to mvc yml
medhatelmasry Dec 4, 2024
2172dc9
more debugging info in deploy step MVC yml
medhatelmasry Dec 5, 2024
8bee5e6
revert back the mvc yml file
medhatelmasry Dec 5, 2024
97513e6
mvc yml AI version
medhatelmasry Dec 5, 2024
e97d2fa
fixed IDs with mvc yml
medhatelmasry Dec 5, 2024
2da8f2b
changed good-nooks to gdbmvc
medhatelmasry Dec 5, 2024
fbed4a7
Revert "bug fix: remove unnecessary AppDbContext registration in Prog…
mika-em Dec 5, 2024
96dd33c
Revert "bug fix: remove duplicate function in IFinancialService"
mika-em Dec 5, 2024
f167d80
Revert "Integrate AccountService into FinancialsController and resolv…
mika-em Dec 5, 2024
f662b0b
more changes to AI version of mvc yml
medhatelmasry Dec 5, 2024
8d68d70
startup dll in mvc yml
medhatelmasry Dec 5, 2024
54632e7
working api and mvc yml files
medhatelmasry Dec 5, 2024
41ec533
included blazor yml
medhatelmasry Dec 5, 2024
006b351
exclude blazor yml
medhatelmasry Dec 5, 2024
b40900c
deleted app.db
medhatelmasry Dec 5, 2024
93224c6
deleted good-deed-books.db
medhatelmasry Dec 5, 2024
1bb51cc
fix: Modified the code to resolve the merge conflict.
ydongchoi Dec 10, 2024
0a64cf7
fix: Modified the code to solve the merge conflict.
ydongchoi Dec 10, 2024
990c23a
feat : Added Hangfire and Config into appsetting and Program.
ydongchoi Dec 10, 2024
cfba2b3
Merge branch 'endpoint_sahil' into 20-accounts-receivable-sales-quota…
ydongchoi Dec 10, 2024
49f0d58
Merge pull request #82 from medhatelmasry/20-accounts-receivable-sale…
medhatelmasry Mar 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 0 additions & 19 deletions .github/workflows/build-deploy-azure.yml

This file was deleted.

87 changes: 87 additions & 0 deletions .github/workflows/gdbapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy Good Deed Books API to Azure Web App - gdbapi

on:
push:
branches:
- endpoint_sahil
workflow_dispatch:

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'

- name: Install dotnet-ef tool
run: |
dotnet tool install --global dotnet-ef
echo "++++ dotnet-ef version"
dotnet ef --version

- name: Build with dotnet
run: |
echo "++++ dotnet build"
dotnet build --configuration Release

- name: Add migrations
run: |
echo "++++ current directory"
pwd
echo "++++ add ApplicationIdentityDbContext migration M1"
dotnet ef migrations add M1 --project ./src/Api/ --startup-project ./src/Api/Api.csproj --msbuildprojectextensionspath .build/obj/Api/ --context ApplicationIdentityDbContext --output-dir Data/Migrations/IdentityDb
echo "++++ add ApiDbContext migration M2"
dotnet ef migrations add M2 --project ./src/Api/ --startup-project ./src/Api/Api.csproj --msbuildprojectextensionspath .build/obj/Api/ --context ApiDbContext --output-dir Data/Migrations/ApiDb
echo "++++ contents of ./src/Api/Data/Migrations/IdentityDb"
ls ./src/Api/Data/Migrations/IdentityDb
echo "++++ contents of ./src/Api/Data/Migrations/ApiDb"
ls ./src/Api/Data/Migrations/ApiDb

- name: dotnet publish
run: |
echo "++++ contents of dotnet publish ./src/Api/Api.csproj"
dotnet publish ./src/Api/Api.csproj -f net8.0 -c Release -o "${{runner.temp}}/myapp"

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
with:
name: .net-app
path: ${{runner.temp}}/myapp

deploy:
runs-on: windows-latest
needs: build
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
permissions:
id-token: write #This is required for requesting the JWT

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v4
with:
name: .net-app

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_A17E281C175C4E629A76134AA823BAC5 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_258CF23452C24D9795BD94B25EF50B73 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_9375B274C69740D39F4770D5D433E8B1 }}

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
with:
app-name: 'gdbapi'
slot-name: 'Production'
package: .
92 changes: 92 additions & 0 deletions .github/workflows/gdbmvc_tar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions
name: Build and deploy Good Deed Books MVC project to Azure
on:
push:
branches:
- endpoint_sahil
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
include-prerelease: true

- name: Build with dotnet
run: dotnet build --configuration Release

- name: dotnet publish
run: dotnet publish ./src/AccountGoWeb/AccountGoWeb.csproj -c Release -o ${{runner.temp}}/myapp

- name: Archive production artifacts
run: |
echo "+++++++++++++++++++++++++ where am I? ++++++++++++++++++++++++"
pwd
echo "+++++++++++++++++++++++++ save current directory into a variable dir ++++"
dir=$(pwd)
echo "+++++++++ what is in variable dir ++++++++++++++"
echo $dir
echo "++++++++++++++++++++++++ what's in current directory? ++++++++"
ls -al
echo "+++++ what's in the ${{runner.temp}}/myapp directory? ++++"
ls -al ${{runner.temp}}/myapp
echo "+++++ change directory to ${{runner.temp}}/myapp ++++"
cd ${{runner.temp}}/myapp
echo "+++++++++++++++++++++++++ where am I? ++++++++++++++++++++++++"
pwd
echo "+++++++++++++++++++++++++ compress current directory and save in $dir/my_artifact.tar.gz ++++"
tar -czvf $dir/my_artifact.tar.gz .
echo "+++++++++++++++++++++++++ change back to $dir directory ++++"
cd $dir
echo "++++++++++++++++++++++++ what's in $dir directory? ++++++++"
ls -al

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
with:
name: .net-app
path: my_artifact.tar.gz

deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
permissions:
id-token: write #This is required for requesting the JWT

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v4
with:
name: .net-app

- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_8B6389BB3F37413FB2483AC2574C3BCB }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_FD62C59DE5DC42C2A07DB8191A522348 }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_7076EF307FDA4C11BC99A0A7A0943794 }}

- name: Extract artifacts
run: |
tar -xzvf my_artifact.tar.gz -C .

- name: Set startup command
run: |
az webapp config set --resource-group goodbooks-RG --name gdbmvc --startup-file "dotnet /home/site/wwwroot/GoodBooks.dll"

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
with:
app-name: 'gdbmvc'
slot-name: 'Production'
package: .
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# custom 2024/04/29
.idea

# User-specific files
*.suo
*.user
Expand All @@ -18,6 +21,7 @@ build/
bld/
[Bb]in/
[Oo]bj/
node_modules/

# Roslyn cache directories
*.ide/
Expand Down Expand Up @@ -186,6 +190,10 @@ FakesAssemblies/

# Lib folder generated by gulpfile.js
**/src/[Ww]eb[Aa]ngular/wwwroot/[Ll]ib/*


**/src/[Rr]eact[Ff]ront[Ee]nd/wwwroot/*

**/src/[Ww]eb[Aa]pp/wwwroot/app/scripts/*
**/src/[Ww]eb[Aa]pp/wwwroot/app/compiledscripts/*
**/src/[Ww]eb[Aa]pp/wwwroot/app/typescripts/compiledscripts/*
Expand Down Expand Up @@ -218,4 +226,5 @@ FakesAssemblies/
/src/Api/Data/Migrations

.vscode
exclude
exclude
/src/Api/appsettings.Development.json
48 changes: 35 additions & 13 deletions accountgo.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.4
# Visual Studio Version 17
VisualStudioVersion = 17.8.34322.80
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Presentation", "Presentation", "{0295DFAC-BF6E-46C0-A63D-FBE9AF3C04E5}"
EndProject
Expand All @@ -19,19 +19,25 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AccountGoWeb", "src\Account
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dto", "src\Dto\Dto.csproj", "{1E610F55-2D74-4856-818B-0D0B47601B75}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E1B45442-3F2D-491A-9D8A-0DDA50309A1A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Infrastructure", "src\Infrastructure\Infrastructure.csproj", "{EBFAFB5B-494F-48D5-A70D-AF1490B9260A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{0EAC5155-A5EA-49C1-8E0C-19DD36D2C21C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Module.Tests", "test\Module.Tests\Module.Tests.csproj", "{54631590-2A41-45F4-B057-92C840ED08C1}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{E0861852-0F5B-4810-8586-A59038BC4034}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleNetStandard20", "test\SampleModules\SampleNetStandard20\SampleNetStandard20.csproj", "{B0AB6EA7-7D53-4457-9482-F0613F99E3BB}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{EF0BD6F1-00D6-41E5-91AB-8B606D35D448}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleModule", "src\Modules\SampleModule\SampleModule.csproj", "{B296277A-C822-444E-8CFA-4CC4C1C1F737}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{EFF13E33-1D79-4221-87D7-4FCC8EA88943}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleNetStandard20", "test\SampleModules\SampleNetStandard20\SampleNetStandard20.csproj", "{B0AB6EA7-7D53-4457-9482-F0613F99E3BB}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleModule", "src\Modules\SampleModule\SampleModule.csproj", "{ABD1EE97-DD84-4C6A-8F3F-28E7D3D898B4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorGDB", "src\BlazorGDB\BlazorGDB\BlazorGDB.csproj", "{AB5F238F-AB78-4A85-8D8D-17E211015FD3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorGDB.Client", "src\BlazorGDB\BlazorGDB.Client\BlazorGDB.Client.csproj", "{12BE663C-C0DD-4343-93DF-6B2D853B6B79}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LibraryGDB", "src\LibraryGDB\LibraryGDB.csproj", "{F64790E0-86AD-4562-9AC5-F4DD3F4881BA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -67,14 +73,26 @@ Global
{54631590-2A41-45F4-B057-92C840ED08C1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{54631590-2A41-45F4-B057-92C840ED08C1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{54631590-2A41-45F4-B057-92C840ED08C1}.Release|Any CPU.Build.0 = Release|Any CPU
{B296277A-C822-444E-8CFA-4CC4C1C1F737}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B296277A-C822-444E-8CFA-4CC4C1C1F737}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B296277A-C822-444E-8CFA-4CC4C1C1F737}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B296277A-C822-444E-8CFA-4CC4C1C1F737}.Release|Any CPU.Build.0 = Release|Any CPU
{B0AB6EA7-7D53-4457-9482-F0613F99E3BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B0AB6EA7-7D53-4457-9482-F0613F99E3BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B0AB6EA7-7D53-4457-9482-F0613F99E3BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B0AB6EA7-7D53-4457-9482-F0613F99E3BB}.Release|Any CPU.Build.0 = Release|Any CPU
{ABD1EE97-DD84-4C6A-8F3F-28E7D3D898B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ABD1EE97-DD84-4C6A-8F3F-28E7D3D898B4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ABD1EE97-DD84-4C6A-8F3F-28E7D3D898B4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ABD1EE97-DD84-4C6A-8F3F-28E7D3D898B4}.Release|Any CPU.Build.0 = Release|Any CPU
{AB5F238F-AB78-4A85-8D8D-17E211015FD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AB5F238F-AB78-4A85-8D8D-17E211015FD3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AB5F238F-AB78-4A85-8D8D-17E211015FD3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AB5F238F-AB78-4A85-8D8D-17E211015FD3}.Release|Any CPU.Build.0 = Release|Any CPU
{12BE663C-C0DD-4343-93DF-6B2D853B6B79}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{12BE663C-C0DD-4343-93DF-6B2D853B6B79}.Debug|Any CPU.Build.0 = Debug|Any CPU
{12BE663C-C0DD-4343-93DF-6B2D853B6B79}.Release|Any CPU.ActiveCfg = Release|Any CPU
{12BE663C-C0DD-4343-93DF-6B2D853B6B79}.Release|Any CPU.Build.0 = Release|Any CPU
{F64790E0-86AD-4562-9AC5-F4DD3F4881BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F64790E0-86AD-4562-9AC5-F4DD3F4881BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F64790E0-86AD-4562-9AC5-F4DD3F4881BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F64790E0-86AD-4562-9AC5-F4DD3F4881BA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -84,11 +102,15 @@ Global
{C02DECC9-2A82-42C0-8F26-D0AE6559AC5E} = {B4CE3CD4-74AA-4A22-B514-BC9B380AAFD7}
{09096FEC-DA29-4914-B046-CD280220C52A} = {0295DFAC-BF6E-46C0-A63D-FBE9AF3C04E5}
{9CA13D2D-D6E2-4201-946C-81D1E6093404} = {0295DFAC-BF6E-46C0-A63D-FBE9AF3C04E5}
{1E610F55-2D74-4856-818B-0D0B47601B75} = {0295DFAC-BF6E-46C0-A63D-FBE9AF3C04E5}
{1E610F55-2D74-4856-818B-0D0B47601B75} = {EF0BD6F1-00D6-41E5-91AB-8B606D35D448}
{EBFAFB5B-494F-48D5-A70D-AF1490B9260A} = {B5D35D0C-387C-44FA-9A70-6FE24DAE5728}
{54631590-2A41-45F4-B057-92C840ED08C1} = {0EAC5155-A5EA-49C1-8E0C-19DD36D2C21C}
{B296277A-C822-444E-8CFA-4CC4C1C1F737} = {E0861852-0F5B-4810-8586-A59038BC4034}
{B0AB6EA7-7D53-4457-9482-F0613F99E3BB} = {0EAC5155-A5EA-49C1-8E0C-19DD36D2C21C}
{EFF13E33-1D79-4221-87D7-4FCC8EA88943} = {EF0BD6F1-00D6-41E5-91AB-8B606D35D448}
{ABD1EE97-DD84-4C6A-8F3F-28E7D3D898B4} = {EFF13E33-1D79-4221-87D7-4FCC8EA88943}
{AB5F238F-AB78-4A85-8D8D-17E211015FD3} = {0295DFAC-BF6E-46C0-A63D-FBE9AF3C04E5}
{12BE663C-C0DD-4343-93DF-6B2D853B6B79} = {0295DFAC-BF6E-46C0-A63D-FBE9AF3C04E5}
{F64790E0-86AD-4562-9AC5-F4DD3F4881BA} = {B5D35D0C-387C-44FA-9A70-6FE24DAE5728}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {AD284F35-E81F-4678-B737-A5DC8CB883CB}
Expand Down
Loading