feat(lexware): add integration foundation
This commit is contained in:
parent
8d37eb29b3
commit
ffffb68898
28 changed files with 1150 additions and 11 deletions
|
|
@ -176,6 +176,7 @@ export default function RepairDetailPage({ params }: Params) {
|
|||
const canDeleteEstimates = hasPermission(currentUser, "repair_estimates.delete");
|
||||
const canSendEstimates = hasPermission(currentUser, "repair_estimates.send");
|
||||
const canRevokeEstimates = hasPermission(currentUser, "repair_estimates.revoke");
|
||||
const canLexwareExport = hasPermission(currentUser, "lexware.export");
|
||||
|
||||
async function createPublicLink() {
|
||||
if (!repair || !canManagePublicLink) return;
|
||||
|
|
@ -444,6 +445,7 @@ export default function RepairDetailPage({ params }: Params) {
|
|||
canDelete={canDeleteEstimates}
|
||||
canSend={canSendEstimates}
|
||||
canRevoke={canRevokeEstimates}
|
||||
canLexwareExport={canLexwareExport}
|
||||
/>
|
||||
</DetailSection>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue