Rework service, removed redundant code, service invoicing improvements
This commit is contained in:
@@ -30,13 +30,16 @@ class InvoiceItem extends Model
|
||||
// Array of items that can be updated with PushNew
|
||||
protected $pushable = ['taxes'];
|
||||
|
||||
public const INVOICEITEM_SERVICE = 0;
|
||||
public const INVOICEITEM_SETUP = 4;
|
||||
|
||||
// @todo Change these to CONSTS so it's easier to reference through out the code
|
||||
public const type = [
|
||||
0 => 'Service Charge',
|
||||
self::INVOICEITEM_SERVICE => 'Service Charge',
|
||||
1 => 'Hardware', // *
|
||||
2 => 'Service Relocation Fee', // * Must have corresponding SERVICE_ID
|
||||
3 => 'Service Change', // * Must have corresponding SERVICE_ID
|
||||
4 => 'Service Connection', // * Must have corresponding SERVICE_ID
|
||||
self::INVOICEITEM_SETUP => 'Service Connection', // * Must have corresponding SERVICE_ID
|
||||
6 => 'Service Cancellation', // * Must have corresponding SERVICE_ID
|
||||
7 => 'Extra Product/Service Charge', // * Service Billing in advance, Must have corresponding SERVICE_ID
|
||||
8 => 'Product Addition', // * Additional Product Customisation, Must have corresponding SERVICE_ID
|
||||
|
Reference in New Issue
Block a user