_date_from ) ) . '01'; $datetime2 = date( 'Y-m-', strtotime( $this -> _date_to ) ) . date( 't', strtotime( $this -> _date_to ) ); $x = floor( ( strtotime( $datetime2 ) - strtotime( $datetime1 ) ) / 2628000 ); $months = \S::getMonthNames(); ?>
Raport pozycji od _date_from;?> do _date_to;?>
_pages ) ): foreach ( $this -> _pages as $page ):?>
Raport dla strony
_date_from ) ) )];?> _date_from ) ) );?>
_date_from ) ) ); $z++ ):?> _date_from ) ) ); $z++ ) { $date = date( 'Y-m-', strtotime( '+' . $i . ' months', strtotime( $this -> _date_from ) ) ); $z < 10 ? $date .= '0' . $z : $date .= $z; $phrase['positions'][ $date ] ? $pos = $phrase['positions'][ $date ] : $pos = '-'; if ( $pos == 1 ) $style = 'background: #6a8da7 !important; color: #fff !important;'; if ( $pos == 2 || $pos == 3 ) $style = 'background: #56bc76 !important; color: #fff !important;'; if ( $pos >= 4 && $pos <= 6 ) $style = 'background: #cb60b3 !important; color: #fff !important;'; if ( $pos >= 7 && $pos <= 10 ) $style = 'background: #e5603b !important; color: #fff !important;'; if ( $pos >= 11 && $pos <= 20 ) $style = 'background: #666666 !important; color: #fff !important;'; if ( $pos == 0 || $pos >= 21 ) $style = ''; ?>
Fraza
_report_form == 2 ):?>
0 ):?>rabat %
Pozycja - : 0 ) echo number_format( number_format( $price['price'] - ( $price['price'] * $discount / 100 ), 2 ), 2, '.', ' ' ); else echo number_format( $price['price'], 2, '.', ' ' ) . ' PLN'; ?> 0 ) echo number_format( number_format( $price['price'] - ( $price['price'] * $discount / 100 ), 2 ) * $price['count'], 2, '.', ' ' ); else echo number_format( $price['price'] * $price['count'], 2, '.', ' ' ) . ' PLN'; ?>
Razem netto: PLN
Razem brutto: PLN
Razem netto: PLN
Razem brutto: PLN