mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-13 23:26:29 +02:00
rental freed_time and some service staff coding
This commit is contained in:
parent
9213ca6a70
commit
b92f2c6b5c
8 changed files with 91 additions and 47 deletions
|
@ -227,7 +227,7 @@ td {
|
|||
my $counting = {};
|
||||
|
||||
if($cttpos->{$id}->{int35} && $cttpos->{$id}->{start_time} && $cttpos->{$id}->{end_time}){
|
||||
$pri->count_freedrental("Printpreview",\%varenv,$ctt->{int10},$cttpos->{$id});
|
||||
$pri->count_freedrental("Printpreview",\%varenv,$ctt->{int10},$cttpos->{$id},1);
|
||||
($pricing,$counting) = $pri->counting_rental(\%varenv,$cttpos->{$id});
|
||||
$gesamt = $pri->round($pricing->{total_price});
|
||||
$gesamt = sprintf('%.2f', $gesamt);
|
||||
|
@ -699,7 +699,7 @@ td {
|
|||
my $rental_feed = {};
|
||||
|
||||
if($cttpos->{$id}->{int35} && $cttpos->{$id}->{start_time} && $cttpos->{$id}->{end_time}){
|
||||
$pri->count_freedrental("Printpreview",\%varenv,$ctt->{int10},$cttpos->{$id});
|
||||
$pri->count_freedrental("Printpreview",\%varenv,$ctt->{int10},$cttpos->{$id},1);
|
||||
($pricing,$counting) = $pri->counting_rental($varenv,$cttpos->{$id});
|
||||
$rental_feed = $pri->fetch_rentalfeed($varenv,$varenv,$cttpos->{$id},$counting);
|
||||
$rabatt = $pricing->{discount};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue