Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
readme, todo, project file
Browse files Browse the repository at this point in the history
  • Loading branch information
iloire committed Oct 11, 2011
1 parent f32043b commit 86b6608
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -3,4 +3,5 @@ obj/
*.dll
*.pdb
*.suo
iloire Facturacion/App_Error/*
iloire Facturacion/App_Error/*
InvoiceDB.sdf
53 changes: 45 additions & 8 deletions README.md
@@ -1,29 +1,66 @@
## What is this?

## What is this?

This is a sample invoicing application used for ASP.NET MVC3 training purposes.
* This is a sample invoicing application used for ASP.NET MVC3 training purposes.
* This is a good code base to learn ASP.NET MVC3, since it covers many areas and development techniques.
* I am using it as a personal invoicing tool for my freelancing activity, you may use it as well for this or any other purpose (it is very easy to customize to fit your needs)
* The solution has been created with Visual Studio 2010 Express, but you can open it with other versions of VS 2010.
* Unit tests have been written with NUnit.

## Demo

[Check the online demo here](http://www.vitaminasdev.com/invoicing)

## How to best use this code:

* This application is meant to show how to create an ASP.NET MVC application from scratch.
* This application show how to use Code First, EF, Razor view engine, partial views, partial actions, Html Helpers, Data Annotation validation, etc..
* This application show how to use some of the cool features of ASP.NET MVC3 like:
* Code First
* Entity Framework and LINQ
* Razor view engine
* Partial views and partial actions (with independent cache for high concurrency page rendering)
* Html Helpers
* Data Annotation validation
* AJAX partial rendering
* Custom T4 templates for customized scaffolding
* Every major development on this invoicing app has been tagged (0.1, 0.2, etc...)
* You can download each tag (starting with 0.1), check progress and move to the next when you understood everything that has been done.
* Follow the change log (tag history) and enjoy!

## ScreenShots
## Screenshots

![New Customer](https://github.com/iloire/ASP.NET-MVC-ACME-Invoicing--App/raw/master/screenshots/new_customer_bootstrap_style01.png)

![Invoice list](https://github.com/iloire/ASP.NET-MVC-ACME-Invoicing--App/raw/master/screenshots/list_invoice01.png)
![Home](https://github.com/iloire/ASP.NET-MVC-ACME-Invoicing--App/raw/master/screenshots/home01.png)

![Invoice Details](https://github.com/iloire/ASP.NET-MVC-ACME-Invoicing--App/raw/master/screenshots/detail_invoice01.png)

![Printed Invoice(https://github.com/iloire/ASP.NET-MVC-ACME-Invoicing--App/raw/master/screenshots/printed_invoice01.png)

![Invoice list](https://github.com/iloire/ASP.NET-MVC-ACME-Invoicing--App/raw/master/screenshots/list_invoice01.png)

![Customer list](https://github.com/iloire/ASP.NET-MVC-ACME-Invoicing--App/raw/master/screenshots/list_customer01.png)

![Unit testing](https://github.com/iloire/ASP.NET-MVC-ACME-Invoicing--App/raw/master/screenshots/unit_testing01.png)


## TAGS (change log):

**0.12
**0.13**

* Support for SQL Server Compact Edition (by default). You can choose to other database provider in web.config.
* New field on invoice: "AdvancePaymentTax"
* New Reports controller for summary and reports. Yearly summary, quarter summary, etc.
* Better dummy data generation when database is re-created.
* Search field for Providers.
* Date search in Invoices
* Paging on expenses (purchases)
* Extra EditorTemplates and DisplayTemplates views.
* Aggregated data in invoice list for a customer.
* Lots of style and usability improvements. Overall improvements to prepare the application for a 1.0 version.
* Search by date. Auto select Q1, Q2, Q3, Q4 dates interval in order to search by date.
* Pie chart using Google Chart calls.
* More coverage in unit testing. Added Moq reference for object mocking.

**0.12**

* Added pagination functionality using https://github.com/martijnboland/MvcPaging library to some entities (pending the other ones)
* Added NUnit testing project as example of how to include it.
Expand Down
1 change: 1 addition & 0 deletions TODO.txt
@@ -1,3 +1,4 @@
- Be able to edit invoice number.
- Protect again invoice deletion when there are invoice details.
- Protect from invoice modification one is saved (drafts?)
- Make sure localization and js validation works for US ui-culture.
16 changes: 15 additions & 1 deletion iloire Facturacion/iloire Facturacion.csproj
Expand Up @@ -72,6 +72,7 @@
<Compile Include="Controllers\InvoiceDetailsController.cs" />
<Compile Include="Controllers\ProviderController.cs" />
<Compile Include="Controllers\PurchaseController.cs" />
<Compile Include="Controllers\ReportsController.cs" />
<Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon>
</Compile>
Expand All @@ -84,6 +85,8 @@
<Compile Include="Models\Paging\Pager.cs" />
<Compile Include="Models\Paging\PagingExtensions.cs" />
<Compile Include="Models\POCO\Customer.cs" />
<Compile Include="Models\POCO\ModelView\YearSummary.cs" />
<Compile Include="Models\POCO\ModelView\Summary.cs" />
<Compile Include="Models\POCO\Provider.cs" />
<Compile Include="Models\POCO\InvoiceDetails.cs" />
<Compile Include="Models\POCO\Purchase.cs" />
Expand All @@ -94,6 +97,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="Content\bootstrap.min.css" />
<Content Include="Content\bootstrap.print.css" />
<Content Include="Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png" />
<Content Include="Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png" />
<Content Include="Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png" />
Expand Down Expand Up @@ -123,6 +127,7 @@
<Content Include="Content\themes\base\jquery.ui.theme.css" />
<Content Include="Content\bootstrap.extra.css" />
<Content Include="Global.asax" />
<Content Include="Scripts\bootstrap-dropdown.js" />
<Content Include="Scripts\bootstrap-modal.js" />
<Content Include="Scripts\jquery-1.5.1-vsdoc.js" />
<Content Include="Scripts\jquery-1.5.1.js" />
Expand Down Expand Up @@ -160,7 +165,6 @@
<Content Include="Views\Account\ChangePasswordSuccess.cshtml" />
<Content Include="Views\Account\LogOn.cshtml" />
<Content Include="Views\Account\Register.cshtml" />
<Content Include="Views\Home\About.cshtml" />
<Content Include="Views\Home\Index.cshtml" />
<Content Include="Views\Shared\Error.cshtml" />
<Content Include="Views\Shared\_LogOnPartial.cshtml" />
Expand All @@ -170,6 +174,7 @@
<ItemGroup>
<Folder Include="App_Data\" />
<Folder Include="App_Error\" />
<Folder Include="Content\images\" />
</ItemGroup>
<ItemGroup>
<Content Include="packages.config" />
Expand Down Expand Up @@ -217,6 +222,15 @@
<Content Include="Views\Shared\Messages\Success.cshtml" />
<Content Include="Views\Shared\DisplayTemplates\DateTime.cshtml" />
<Content Include="Views\Shared\_LayoutPrint.cshtml" />
<Content Include="Views\Shared\EditorTemplates\Currency.cshtml" />
<Content Include="Views\Shared\EditorTemplates\Number.cshtml" />
<Content Include="Views\Shared\EditorTemplates\Decimal.cshtml" />
<Content Include="Views\Reports\PeriodSummary.cshtml" />
<Content Include="Views\Purchase\EditOrCreatePurchasePartial.cshtml" />
<Content Include="Views\Invoice\EditOrCreateInvoicePartial.cshtml" />
<Content Include="Views\Shared\SearchBoxCompany.cshtml" />
<Content Include="Views\Reports\YearSummary.cshtml" />
<Content Include="Views\Shared\SearchBoxItems.cshtml" />
</ItemGroup>
<ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
Expand Down

0 comments on commit 86b6608

Please sign in to comment.