|  | @@ -13,7 +13,6 @@ enum DocumentType: string implements HasIcon, HasLabel
 | 
		
	
		
			
			| 13 | 13 |      case Bill = 'bill';
 | 
		
	
		
			
			| 14 | 14 |      case Estimate = 'estimate';
 | 
		
	
		
			
			| 15 | 15 |      case RecurringInvoice = 'recurring_invoice';
 | 
		
	
		
			
			| 16 |  | -    case CreditNote = 'credit_note';
 | 
		
	
		
			
			| 17 | 16 |  
 | 
		
	
		
			
			| 18 | 17 |      public const DEFAULT = self::Invoice->value;
 | 
		
	
		
			
			| 19 | 18 |  
 | 
		
	
	
		
			
			|  | @@ -22,7 +21,6 @@ enum DocumentType: string implements HasIcon, HasLabel
 | 
		
	
		
			
			| 22 | 21 |          return match ($this) {
 | 
		
	
		
			
			| 23 | 22 |              self::Invoice, self::Bill, self::Estimate => $this->name,
 | 
		
	
		
			
			| 24 | 23 |              self::RecurringInvoice => 'Recurring Invoice',
 | 
		
	
		
			
			| 25 |  | -            self::CreditNote => 'Credit Note',
 | 
		
	
		
			
			| 26 | 24 |          };
 | 
		
	
		
			
			| 27 | 25 |      }
 | 
		
	
		
			
			| 28 | 26 |  
 | 
		
	
	
		
			
			|  | @@ -43,7 +41,7 @@ enum DocumentType: string implements HasIcon, HasLabel
 | 
		
	
		
			
			| 43 | 41 |      public function getTaxKey(): string
 | 
		
	
		
			
			| 44 | 42 |      {
 | 
		
	
		
			
			| 45 | 43 |          return match ($this) {
 | 
		
	
		
			
			| 46 |  | -            self::Invoice, self::RecurringInvoice, self::Estimate, self::CreditNote => 'salesTaxes',
 | 
		
	
		
			
			|  | 44 | +            self::Invoice, self::RecurringInvoice, self::Estimate => 'salesTaxes',
 | 
		
	
		
			
			| 47 | 45 |              self::Bill => 'purchaseTaxes',
 | 
		
	
		
			
			| 48 | 46 |          };
 | 
		
	
		
			
			| 49 | 47 |      }
 | 
		
	
	
		
			
			|  | @@ -51,7 +49,7 @@ enum DocumentType: string implements HasIcon, HasLabel
 | 
		
	
		
			
			| 51 | 49 |      public function getDiscountKey(): string
 | 
		
	
		
			
			| 52 | 50 |      {
 | 
		
	
		
			
			| 53 | 51 |          return match ($this) {
 | 
		
	
		
			
			| 54 |  | -            self::Invoice, self::RecurringInvoice, self::Estimate, self::CreditNote => 'salesDiscounts',
 | 
		
	
		
			
			|  | 52 | +            self::Invoice, self::RecurringInvoice, self::Estimate => 'salesDiscounts',
 | 
		
	
		
			
			| 55 | 53 |              self::Bill => 'purchaseDiscounts',
 | 
		
	
		
			
			| 56 | 54 |          };
 | 
		
	
		
			
			| 57 | 55 |      }
 | 
		
	
	
		
			
			|  | @@ -67,14 +65,6 @@ enum DocumentType: string implements HasIcon, HasLabel
 | 
		
	
		
			
			| 67 | 65 |                  dueDate: 'Payment Due',
 | 
		
	
		
			
			| 68 | 66 |                  amountDue: 'Amount Due',
 | 
		
	
		
			
			| 69 | 67 |              ),
 | 
		
	
		
			
			| 70 |  | -            self::CreditNote => new DocumentLabelDTO(
 | 
		
	
		
			
			| 71 |  | -                title: self::CreditNote->getLabel(),
 | 
		
	
		
			
			| 72 |  | -                number: 'Credit Note Number',
 | 
		
	
		
			
			| 73 |  | -                referenceNumber: 'P.O/S.O Number',
 | 
		
	
		
			
			| 74 |  | -                date: 'Credit Note Date',
 | 
		
	
		
			
			| 75 |  | -                dueDate: 'Payment Due',
 | 
		
	
		
			
			| 76 |  | -                amountDue: 'Amount Due',
 | 
		
	
		
			
			| 77 |  | -            ),
 | 
		
	
		
			
			| 78 | 68 |              self::RecurringInvoice => new DocumentLabelDTO(
 | 
		
	
		
			
			| 79 | 69 |                  title: self::RecurringInvoice->getLabel(),
 | 
		
	
		
			
			| 80 | 70 |                  number: 'Invoice Number',
 |