|
id
|
bigint(20) unsigned
|
|
|
|
|
transaction_no
|
varchar(80)
|
|
|
|
|
transaction_type
|
enum
|
-- |
|
|
|
company_id
|
bigint(20) unsigned
|
|
|
|
|
from_location_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
to_location_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
customer_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
pop_location_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
engineer_id
|
bigint(20) unsigned
|
|
|
|
|
supplier_id
|
bigint(20) unsigned
|
|
|
|
|
repair_vendor_id
|
bigint(20) unsigned
|
|
|
|
|
related_transaction_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
transaction_at
|
timestamp
|
|
|
current_timestamp()
|
|
dispatch_confirmed_at
|
timestamp
|
|
|
|
|
received_confirmed_at
|
timestamp
|
|
|
|
|
approval_status
|
enum
|
-- |
|
not_required
|
|
approved_by
|
bigint(20) unsigned
|
|
|
|
|
approved_at
|
timestamp
|
|
|
|
|
status
|
enum
|
-- |
|
completed
|
|
remarks
|
text
|
|
|
|
|
supporting_document_path
|
varchar(255)
|
|
|
|
|
created_by
|
bigint(20) unsigned
|
|
|
|
|
updated_by
|
bigint(20) unsigned
|
|
|
|
|
ip_address
|
varchar(45)
|
|
|
|
|
device_info
|
varchar(255)
|
|
|
|
|
created_at
|
timestamp
|
|
|
current_timestamp()
|
|
updated_at
|
timestamp
|
|
|
current_timestamp()
|
|
deleted_at
|
timestamp
|
|
|
|
|
person_name
|
varchar(150)
|
|
|
|
|
last_visit_at
|
datetime
|
|
|
|
|
last_visit_outcome
|
varchar(30)
|
|
|
|
|
last_visit_reason
|
varchar(255)
|
|
|
|
|
last_visit_photo_path
|
varchar(500)
|
|
|
|
|
last_visit_latitude
|
decimal(10,7)
|
|
|
|
|
last_visit_longitude
|
decimal(10,7)
|
|
|
|
|
last_visit_accuracy
|
decimal(10,2)
|
|
|
|
|
last_visit_by
|
bigint(20) unsigned
|
|
|
|