updates to mock content and contract view implementation

This commit is contained in:
Timur Gordon
2025-04-23 03:52:11 +02:00
parent 6060831f61
commit b56f1cbc30
9 changed files with 1453 additions and 644 deletions

View File

@@ -8,6 +8,7 @@ pub enum ContractStatus {
Draft,
PendingSignatures,
Signed,
Active,
Expired,
Cancelled
}
@@ -18,6 +19,7 @@ impl ContractStatus {
ContractStatus::Draft => "Draft",
ContractStatus::PendingSignatures => "Pending Signatures",
ContractStatus::Signed => "Signed",
ContractStatus::Active => "Active",
ContractStatus::Expired => "Expired",
ContractStatus::Cancelled => "Cancelled",
}
@@ -31,6 +33,10 @@ pub enum ContractType {
Employment,
NDA,
SLA,
Partnership,
Distribution,
License,
Membership,
Other
}
@@ -41,6 +47,10 @@ impl ContractType {
ContractType::Employment => "Employment Contract",
ContractType::NDA => "Non-Disclosure Agreement",
ContractType::SLA => "Service Level Agreement",
ContractType::Partnership => "Partnership Agreement",
ContractType::Distribution => "Distribution Agreement",
ContractType::License => "License Agreement",
ContractType::Membership => "Membership Agreement",
ContractType::Other => "Other",
}
}