Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

public function recalculate_totals(){
	// TODO
	
	$ot_subtotal = new Orderstotal();
	$ot_subtotal->orders_id = $this->orders_id;
	$ot_subtotal->class = Orderstotal::CLASS_SUBTOTAL;
	$ot_subtotal->title = 'Zwischensumme:';
	$ot_subtotal->value = $this->get_products_price_total_from_orders_products();
	$ot_subtotal->text = number_format( $ot_subtotal->value, 2, ',', '' ). ' EUR';
	//$ot_subtotal->save();
	
}

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *


− 1 = zwei

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>