Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: divide by 0 #108

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions samples/license-calculator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ The prices may change, and some companies may benefit from Volume Licensing. The
|Version|Date|Comments|
|-|-|-|
|1.0|January 30, 2024|Initial release|
|1.1|September 16, 2024|Fix: divide by 0|

## Prerequisites

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Import Project="$(PowerAppsTargetsPath)\Microsoft.PowerApps.VisualStudio.Solution.props" Condition="Exists('$(PowerAppsTargetsPath)\Microsoft.PowerApps.VisualStudio.Solution.props')" />

<PropertyGroup>
<ProjectGuid>d5737490-ea6d-4af7-ad61-247f87b3f3e3</ProjectGuid>
<ProjectGuid>a9cca085-c683-4ecc-985c-c13e95b2993d</ProjectGuid>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<!--Remove TargetFramework when this is available in 16.1-->
<TargetFramework>net462</TargetFramework>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<CanvasApp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Name>cr801_componentslibrary_f0cc5</Name>
<AppVersion>2024-01-30T13:38:28Z</AppVersion>
<AppVersion>2024-09-15T13:23:26Z</AppVersion>
<Status>Ready</Status>
<CreatedByClientVersion>3.24014.14.0</CreatedByClientVersion>
<MinClientVersion>3.24014.14.0</MinClientVersion>
Expand All @@ -10,18 +10,17 @@
<GalleryItemId xsi:nil="true"></GalleryItemId>
<BackgroundColor>RGBA(251,101,60,1)</BackgroundColor>
<DisplayName>License Calculator Component</DisplayName>
<Description xsi:nil="true"></Description>
<CommitMessage xsi:nil="true"></CommitMessage>
<Publisher xsi:nil="true"></Publisher>
<Description></Description>
<CommitMessage></CommitMessage>
<Publisher></Publisher>
<AuthorizationReferences>[]</AuthorizationReferences>
<ConnectionReferences>{}</ConnectionReferences>
<DatabaseReferences>{}</DatabaseReferences>
<AppComponents>[{"appComponentName":"2a52c84637424b1bbab5bd82bb6e33a2","displayName":"compLicenseCalculator","appName":"93fea0ab-8766-4952-8598-45911a542faf","appVersion":"2024-01-30T13:38:28Z","appComponentLibraryLogicalName":"cr801_componentslibrary_f0cc5","appDisplayName":"Components Library","environmentName":"a2501a9b-1447-ee4f-9bdd-bf2a5e95805d","owner":{"id":"a2044114-98d2-4243-9ac1-652ee23f0f30","displayName":"Kazala Kinga (ID SWS)","email":"[email protected]","type":"User","tenantId":"9634a6ec-a266-45a3-ab14-74c4211fc582","userPrincipalName":"[email protected]"},"allowCustomization":true,"createdOn":"2024-01-26T14:01:27.026Z","lastModifiedOn":"2024-01-30T13:27:35.456Z","connectionReferences":{},"databaseReferences":{}}]</AppComponents>
<AppComponents>[{"appComponentName":"2a52c84637424b1bbab5bd82bb6e33a2","displayName":"compLicenseCalculator","appVersion":"2024-01-30T13:38:28Z","appComponentLibraryLogicalName":"cr801_componentslibrary_f0cc5","environmentName":"effc4191-d710-e2cc-a339-d70c5456aa0e","allowCustomization":true,"createdOn":"2024-01-26T14:01:27.026Z","lastModifiedOn":"2024-01-30T13:27:35.456Z","connectionReferences":{},"databaseReferences":{}}]</AppComponents>
<AppComponentDependencies>[]</AppComponentDependencies>
<CanConsumeAppPass>1</CanConsumeAppPass>
<CanvasAppType>1</CanvasAppType>
<BypassConsent>0</BypassConsent>
<AdminControlBypassConsent>0</AdminControlBypassConsent>
<EmbeddedApp xsi:nil="true"></EmbeddedApp>
<IntroducedVersion>1.0</IntroducedVersion>
<CdsDependencies>{"cdsdependencies":[]}</CdsDependencies>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<CanvasApp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Name>crd30_licensecalculator_1e1f6</Name>
<AppVersion>2024-01-30T13:43:07Z</AppVersion>
<AppVersion>2024-09-15T13:23:30Z</AppVersion>
<Status>Ready</Status>
<CreatedByClientVersion>3.24014.14.0</CreatedByClientVersion>
<MinClientVersion>3.24014.14.0</MinClientVersion>
Expand All @@ -10,21 +10,20 @@
<GalleryItemId xsi:nil="true"></GalleryItemId>
<BackgroundColor>RGBA(0,176,240,1)</BackgroundColor>
<DisplayName>License Calculator</DisplayName>
<Description xsi:nil="true"></Description>
<CommitMessage xsi:nil="true"></CommitMessage>
<Publisher xsi:nil="true"></Publisher>
<Description></Description>
<CommitMessage></CommitMessage>
<Publisher></Publisher>
<AuthorizationReferences>[]</AuthorizationReferences>
<ConnectionReferences>{}</ConnectionReferences>
<DatabaseReferences>{}</DatabaseReferences>
<AppComponents>[]</AppComponents>
<AppComponentDependencies>[{"appComponentName":"2a52c84637424b1bbab5bd82bb6e33a2","appName":"ae8edea1-bce2-4a7e-957c-5bf65f42e595","appComponentLibraryName":"93fea0ab-8766-4952-8598-45911a542faf","appComponentLibraryVersion":"2024-01-30T13:38:28Z","appComponentLibraryLogicalName":"cr801_componentslibrary_f0cc5","environmentName":"a2501a9b-1447-ee4f-9bdd-bf2a5e95805d"}]</AppComponentDependencies>
<AppComponentDependencies>[{"appComponentName":"2a52c84637424b1bbab5bd82bb6e33a2","appName":"ae8edea1-bce2-4a7e-957c-5bf65f42e595","appComponentLibraryName":"18c3884b-a5d8-426c-b9de-7d8291656dc8","appComponentLibraryVersion":"2024-09-15T13:23:26Z","appComponentLibraryLogicalName":"cr801_componentslibrary_f0cc5","tenantId":"9634a6ec-a266-45a3-ab14-74c4211fc582","environmentName":"effc4191-d710-e2cc-a339-d70c5456aa0e"}]</AppComponentDependencies>
<CanConsumeAppPass>1</CanConsumeAppPass>
<CanvasAppType>0</CanvasAppType>
<BypassConsent>0</BypassConsent>
<AdminControlBypassConsent>0</AdminControlBypassConsent>
<EmbeddedApp xsi:nil="true"></EmbeddedApp>
<IntroducedVersion>1.0</IntroducedVersion>
<CdsDependencies>{"cdsdependencies":[{"logicalname":"cr801_componentslibrary_f0cc5","componenttype":300,"componenttypeplatformname":"CanvasApp"}]}</CdsDependencies>
<CdsDependencies>{"cdsdependencies":[{"componenttype":300,"logicalname":"cr801_componentslibrary_f0cc5","componenttypeplatformname":"CanvasApp"}]}</CdsDependencies>
<IsCustomizable>1</IsCustomizable>
<BackgroundImageUri>/CanvasApps/crd30_licensecalculator_1e1f6_BackgroundImageUri</BackgroundImageUri>
<DocumentUri>/CanvasApps/crd30_licensecalculator_1e1f6_DocumentUri.msapp</DocumentUri>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"ClientBuildDetails": {
"CommitHash": "941f06c8f5cf7a493289e9514c8dec5c50b61d34",
"IsLocalBuild": false
},
"ClientPerFileChecksums": {
"AppCheckerResult.sarif": "C8_3AhaHhVgeCAEYgaK6w1eItI4bWqZsYSUTy7FxJ33dAw=",
"Components\\4.json": "C8_+HrG/Ht9J7PK73FeGYaFm1o0iU7yqbh7qpAelemne1Y=",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"ClientBuildDetails": {
"CommitHash": "941f06c8f5cf7a493289e9514c8dec5c50b61d34",
"IsLocalBuild": false
},
"ClientPerFileChecksums": {
"AppCheckerResult.sarif": "C8_WnBLap68jo1TKJoqyI/phFk56krkQpQauEypRnRRUZE=",
"Components\\10.json": "C8_TdilLUp2XdAouQgoN0kdPtklCASgcPl5HwoajsY7reY=",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ImportExportXml version="9.2.24013.164" SolutionPackageVersion="9.2" languagecode="1033" generatedBy="CrmLive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ImportExportXml version="9.2.24082.192" SolutionPackageVersion="9.2" languagecode="1033" generatedBy="CrmLive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SolutionManifest>
<UniqueName>LicenseCalculator</UniqueName>
<LocalizedNames>
Expand Down
Loading