diff --git a/tpl/Reservation/edit.tpl b/tpl/Reservation/edit.tpl index 7c37962e9..fb5476312 100644 --- a/tpl/Reservation/edit.tpl +++ b/tpl/Reservation/edit.tpl @@ -73,13 +73,13 @@ - {if $CheckInRequired && (!checkinAdminOnly || $CanViewAdmin)} + {if $CheckInRequired && (!$checkinAdminOnly || $CanViewAdmin)} {/if} - {if $CheckOutRequired && (!checkoutAdminOnly || $CanViewAdmin)} + {if $CheckOutRequired && (!$checkoutAdminOnly || $CanViewAdmin)} {/if} @@ -220,4 +220,4 @@ -{/block} \ No newline at end of file +{/block} diff --git a/tpl/Reservation/view.tpl b/tpl/Reservation/view.tpl index 987c2d00a..3a4884f14 100644 --- a/tpl/Reservation/view.tpl +++ b/tpl/Reservation/view.tpl @@ -281,14 +281,14 @@ {/block} {block name="submitButtons"} - {if $CheckInRequired && (!checkinAdminOnly || $CanViewAdmin)} + {if $CheckInRequired && (!$checkinAdminOnly || $CanViewAdmin)} {/if} - {if $CheckOutRequired && (!checkoutAdminOnly || $CanViewAdmin)} + {if $CheckOutRequired && (!$checkoutAdminOnly || $CanViewAdmin)} @@ -433,4 +433,4 @@ $.blockUI.defaults.css.left = '20%'; }); -{include file='globalfooter.tpl'} \ No newline at end of file +{include file='globalfooter.tpl'}