Skip to content

Commit

Permalink
feat(Contract/Store): page entry point (#922)
Browse files Browse the repository at this point in the history
  • Loading branch information
a0m0rajab authored Dec 5, 2024
2 parents efa3c1c + 65c53a8 commit cd7ca84
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@ export default async function Page({
missingSteps.data,
),
},
{
id: "stores",
link: "stores",
disabled: false,
...setSectionOptions(
"Stores",
languageData["Contracts.Create.Stores"],
languageData,
missingSteps.data,
),
},
{
id: "contract-settings",
link: "contract-settings",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import PagePolicy from "src/app/[lang]/page-policy/page-policy";

export default function Page() {
return (
<PagePolicy
requiredPolicies={[
"ContractService.ContractStore",
"ContractService.ContractStore.Edit",
"ContractService.ContractStore.Delete",
"ContractService.ContractStore.Create",
]}
>
<div>Stores Page</div>
</PagePolicy>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

"Contracts.Create.ContractHeader": "Contract",
"Contracts.Create.RebateSettings": "Rebate settings",
"Contracts.Create.Stores": "Stores",
"Contracts.Create.ContractSettings": "Contract settings",

"Contracts.Create.Success": "Contract created.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

"Contracts.Create.ContractHeader": "Sözleşme",
"Contracts.Create.RebateSettings": "Komisyon ayarları",
"Contracts.Create.Stores": "Mağazalar",
"Contracts.Create.ContractSettings": "Sözleşme ayarları",

"Contracts.Create.Success": "Sözleşme oluşturuldu.",
Expand Down

0 comments on commit cd7ca84

Please sign in to comment.