update faker, insert plenty of customers
This commit is contained in:
@@ -156,6 +156,25 @@ try {
|
|||||||
"azerty"
|
"azerty"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
for($i = 0; $i < 50; $i++) {
|
||||||
|
$customer = new Thelia\Model\Customer();
|
||||||
|
$customer->createOrUpdate(
|
||||||
|
1,
|
||||||
|
"thelia".$i,
|
||||||
|
"thelia".$i,
|
||||||
|
"5 rue rochon",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"0102030405",
|
||||||
|
"0601020304",
|
||||||
|
"63000",
|
||||||
|
"clermont-ferrand",
|
||||||
|
64,
|
||||||
|
sprintf("test%d@thelia.net", $i),
|
||||||
|
"azerty".$i
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
//features and features_av
|
//features and features_av
|
||||||
$featureList = array();
|
$featureList = array();
|
||||||
for($i=0; $i<4; $i++) {
|
for($i=0; $i<4; $i++) {
|
||||||
|
|||||||
@@ -128,12 +128,13 @@
|
|||||||
<li class="active"><a href="#">{$PAGE}</a></li>
|
<li class="active"><a href="#">{$PAGE}</a></li>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|
||||||
|
{/pageloop}
|
||||||
{if $PAGE == $LAST && $LAST != $CURRENT}
|
{if $PAGE == $LAST && $LAST != $CURRENT}
|
||||||
<li><a href="{url path="/admin/customers" page="$PAGE"}">»</a></li>
|
<li><a href="{url path="/admin/customers" page="$PAGE"}">»</a></li>
|
||||||
{else}
|
{else}
|
||||||
<li class="disabled"><a href="#">»</a></li>
|
<li class="disabled"><a href="#">»</a></li>
|
||||||
{/if}
|
{/if}
|
||||||
{/pageloop}
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user