Removed unused functions and documented reporting
This commit is contained in:
@@ -5,6 +5,12 @@ namespace Ophelias.Reporting
|
||||
{
|
||||
internal static void GenerateAccommodationBills(List<Reservation> reservations)
|
||||
{
|
||||
/*
|
||||
* This function is used to format and create a new entry in the AccommodationBills.txt
|
||||
* file. The accommodation bill details the guests Last, First name, the date they arrived,
|
||||
* the date they depart/ departed, the length of their stay in days, and the amount they
|
||||
* were charged.
|
||||
*/
|
||||
foreach (Reservation? r in reservations)
|
||||
{
|
||||
string report = $"ACCOMMODATION BILL - GENERATED ON {DateTime.Now.Date.ToString("yyyy-MM-dd")}\n" +
|
||||
|
||||
Reference in New Issue
Block a user