Skip to content

Commit

Permalink
Merge branch 'hotfix/1.0.1' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
polosson committed Dec 9, 2024
2 parents 7357e3b + 8387af3 commit f6e6c57
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Tous les changements notables sur le projet sont documentés dans ce fichier.

Ce projet adhère au principe du [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.1 (2024-12-09)

- Corrige un problème avec l'affichage des remises de matériel dans les devis et factures.

## 1.0.0 (2024-12-06)

- Ajoute une popup avec plus d'informations sur le matériel au survol de la référence et du nom du matériel sur le listing du matériel.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1
4 changes: 3 additions & 1 deletion client/src/themes/default/pages/Schedule/pages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const pages: RouteConfig[] = [
name: 'schedule',
path: '',
redirect: () => {
const { default_bookings_view: defaultBookingsView } = store.getters['auth/user'];
const defaultBookingsView = store.getters['auth/isLogged']
? store.getters['auth/user'].default_bookings_view
: 'calendar';
return { name: `schedule:${defaultBookingsView}` };
},
},
Expand Down
2 changes: 1 addition & 1 deletion server/src/App/Services/Auth/JWT.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public static function registerSessionToken(User $user): string
$cookieName = Config::get('auth.cookie');
$shouldSecureCookie = Config::isSslEnabled();

setcookie($cookieName, '', [
setcookie($cookieName, $token, [
'expires' => 0,
'path' => '/',
'secure' => $shouldSecureCookie,
Expand Down
2 changes: 1 addition & 1 deletion server/src/views/pdf/estimate.twig
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@
</td>
{%- if not isLegacy ~%}
<td class="center">
{{ material.discount_rate|format_percent_number({max_fraction_digit: 4}, locale=locale) }}
{{ material.discount_rate.dividedBy(100, 6)|format_percent_number({max_fraction_digit: 4}, locale=locale) }}
</td>
{%- endif ~%}
<td class="right">
Expand Down
2 changes: 1 addition & 1 deletion server/src/views/pdf/invoice.twig
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
</td>
{%- if not isLegacy ~%}
<td class="center">
{{ material.discount_rate|format_percent_number({max_fraction_digit: 4}, locale=locale) }}
{{ material.discount_rate.dividedBy(100, 6)|format_percent_number({max_fraction_digit: 4}, locale=locale) }}
</td>
{%- endif ~%}
<td class="right">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ <h2>Mat&eacute;riel</h2>
4,81&nbsp;&euro;
</td>
<td class="center">
5&#8239;000&nbsp;%
50&nbsp;%
</td>
<td class="right">
4,81&nbsp;&euro;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ <h2>Materials</h2>
&euro;4.81
</td>
<td class="center">
5,000%
50%
</td>
<td class="right">
&euro;4.81
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ <h2>Materials</h2>
&euro;44.63
</td>
<td class="center">
1,000%
10%
</td>
<td class="right">
&euro;80.33
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ <h2>Materials</h2>
&euro;44.63
</td>
<td class="center">
1,000%
10%
</td>
<td class="right">
&euro;80.33
Expand Down

0 comments on commit f6e6c57

Please sign in to comment.