Added option to view Voided bills

This commit is contained in:
2021-07-02 09:05:37 +05:30
parent 17702a433b
commit 5ece52ad55
3 changed files with 9 additions and 0 deletions

View File

@ -45,6 +45,9 @@ export class BillNumberComponent implements OnInit {
case '2': // No Charge
billId = 'NC-' + billNumber;
break;
case '8': // Void
billId = 'V-' + billNumber;
break;
default:
throw new Error('Unknown Bill Type');
}