summaryrefslogtreecommitdiff
path: root/trunk/reprap/web/part-lister/views/supplier.rs_parts_list.php
blob: 03a5ed2aea2d44d9f91fcb097bdeeca10788c5b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<p>
	Go to their website, <b>Ready to order?</b> -> <b>Copy &amp; paste your order</b>.  Then do just that with the text below.
</p>
<textarea width="100%" rows="<?=count($parts)?>" onfocus="this.select()"><?
	foreach ($parts AS $part)
		echo $part->get('part_num') . "," . $part->orderQuantity() . "\n";
?></textarea>

<h4>Human Readable List:</h4>
<?
	echo Controller::byName('supplier')->renderView('generic_parts_list', array(
		'supplier' => $supplier,
		'parts' => $parts
	));
?>