PlanificaitionLivraison : bien avancé sur le reporting des achats à faire, manque plus que le détail des commandes pour chaque produit
This commit is contained in:
@@ -6,10 +6,10 @@ use PlanificationLivraison\PlanificationLivraison;
|
||||
use Thelia\Form\BaseForm;
|
||||
|
||||
/**
|
||||
* Class Configuration
|
||||
* Class ConfigurationForm
|
||||
* @package PlanificationLivraison\Form
|
||||
*/
|
||||
class Configuration extends BaseForm
|
||||
class ConfigurationForm extends BaseForm
|
||||
{
|
||||
|
||||
protected function buildForm()
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
namespace PlanificationLivraison\Form;
|
||||
|
||||
use Thelia\Form\BaseForm;
|
||||
use PlanificationLivraison\PlanificationLivraison;
|
||||
|
||||
/**
|
||||
* Class ProductsListForm
|
||||
* @package PlanificationLivraison\Form
|
||||
*/
|
||||
class ProductsListForm extends BaseForm
|
||||
{
|
||||
|
||||
protected function buildForm()
|
||||
{
|
||||
$this->formBuilder
|
||||
->add(
|
||||
"date-picker-start", "text",
|
||||
array(
|
||||
"label" => "date-picker-start",
|
||||
"label_attr" => [
|
||||
"for" => "date-picker-start"
|
||||
],
|
||||
"required" => true
|
||||
))
|
||||
->add(
|
||||
"date-picker-end", "text",
|
||||
array(
|
||||
"label" => "date-picker-end",
|
||||
"label_attr" => [
|
||||
"for" => "date-picker-end"
|
||||
],
|
||||
"required" => true
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return string the name of you form. This name must be unique
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return "liste-achats";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user