-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review Controller is now capable of adding customer and supplier
- Loading branch information
pHAlkaline
committed
Apr 26, 2016
1 parent
4a6b4d7
commit e0cdb66
Showing
4 changed files
with
136 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<h2 class="grid_16" id="page-heading"><?php echo __d('phkapa','Register').':'.__d('phkapa','Add %s', __d('phkapa','Customer')); ?></h2> | ||
<div class="grid_16 actionsContainer"> | ||
<div class="grid_4" id="actions"> | ||
|
||
<h2> | ||
<a href="#" id="toggle-admin-actions"><?php echo __d('phkapa','Menu'); ?></a> | ||
</h2> | ||
<div class="block" id="admin-actions"> | ||
<h5><?php echo __dn('phkapa','Ticket','Tickets',2); ?></h5> | ||
<ul class="menu"> | ||
<li><?php echo $this->Html->link(__d('phkapa','List %s', __dn('phkapa','Ticket','Tickets',2)), array('action' => 'index')); ?></li> | ||
<li><?php echo $this->Html->link(__d('phkapa', 'Add %s', __d('phkapa', 'Ticket')), array('action' => 'add')); ?></li> | ||
|
||
</ul> | ||
|
||
|
||
</div> | ||
|
||
</div> | ||
|
||
|
||
|
||
<div class="types form"> | ||
<?php echo $this->Form->create('Customer'); ?> | ||
<fieldset class="ui-corner-all ui-widget-content" > | ||
<legend><?php echo __d('phkapa','Record').' '. __d('phkapa','Customer'); ?></legend> | ||
<?php | ||
echo $this->Form->input('Customer.name',array('label' => __d('phkapa','Name'))); | ||
echo $this->Form->submit(__d('phkapa', 'Submit')); | ||
?> | ||
</fieldset> | ||
<?php echo $this->Form->end(); ?> | ||
</div> | ||
|
||
</div> | ||
<div class="clear"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<h2 class="grid_16" id="page-heading"><?php echo __d('phkapa','Register').':'.__d('phkapa','Add %s', __d('phkapa','Supplier')); ?></h2> | ||
<div class="grid_16 actionsContainer"> | ||
<div class="grid_4" id="actions"> | ||
|
||
<h2> | ||
<a href="#" id="toggle-admin-actions"><?php echo __d('phkapa','Menu'); ?></a> | ||
</h2> | ||
<div class="block" id="admin-actions"> | ||
<h5><?php echo __dn('phkapa','Ticket','Tickets',2); ?></h5> | ||
<ul class="menu"> | ||
<li><?php echo $this->Html->link(__d('phkapa','List %s', __dn('phkapa','Ticket','Tickets',2)), array('action' => 'index')); ?></li> | ||
<li><?php echo $this->Html->link(__d('phkapa', 'Add %s', __d('phkapa', 'Ticket')), array('action' => 'add')); ?></li> | ||
|
||
</ul> | ||
|
||
|
||
</div> | ||
|
||
</div> | ||
|
||
|
||
|
||
<div class="types form"> | ||
<?php echo $this->Form->create('Supplier'); ?> | ||
<fieldset class="ui-corner-all ui-widget-content" > | ||
<legend><?php echo __d('phkapa','Record').' '. __d('phkapa','Supplier'); ?></legend> | ||
<?php | ||
echo $this->Form->input('Supplier.name',array('label' => __d('phkapa','Name'))); | ||
echo $this->Form->submit(__d('phkapa', 'Submit')); | ||
?> | ||
</fieldset> | ||
<?php echo $this->Form->end(); ?> | ||
</div> | ||
|
||
</div> | ||
<div class="clear"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters