[+] CORE : Accounting, Add a begin of the Accounting plan detail

This commit is contained in:
vSchoener
2012-02-29 15:28:07 +00:00
parent 78c0ad182a
commit 1e88952721
16 changed files with 312 additions and 57 deletions
+6 -2
View File
@@ -345,7 +345,7 @@ form#product_form h4 { font-size:18px; font-weight:normal;}
#statsContainer #calendar p, #referrersContainer #calendar p { margin:2px;}
#statsContainer #calendar p span, #referrersContainer #calendar p span { float:left; display:block; padding:3px;}
#statsContainer .blocStats { background-color: #EBEDF4;border: 1px solid #C2C4D9; display: block; position:relative; padding: 10px;}
#statsContainer .blocStats h2 { font-weight:normal; margin:0;}
#statsContainer .blocStats h2 { font-weight:normal; margin:0; font-size:1.4em}
#statsContainer .blocStats h2.icon-statsproduct span,
#statsContainer .blocStats h2.icon-statsbestsuppliers span,
#statsContainer .blocStats h2.icon-statsforecast span,
@@ -493,4 +493,8 @@ ul.listForm li {padding-bottom:3px;}
.selected-line {background:#fff1b5;}
#changedFiles ul{list-style-type: square; padding-left: 40px;}
#changedFiles ul{list-style-type: square; padding-left: 40px;}
#account_list { background-color: #EBEDF4;border: 1px solid #C2C4D9; display: block; position:relative; padding: 10px;}
#account_list h2 { font-weight:normal; margin:0; font-size: 1.4em; padding-bottom:10px;}
#account_list table td, table th {width:100px;}
@@ -31,7 +31,9 @@
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
<div class="pageTitle">
<h3>
<span id="current_obj" style="font-weight: normal;">{$title|default:'&nbsp;'}</span>
<span id="current_obj" style="font-weight: normal;">
{$title|default:'&nbsp;'}
</span>
</h3>
</div>
</div>
@@ -0,0 +1,65 @@
{*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 9856 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="toolbarBox">
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
<div class="pageTitle">
<h3>
<span id="current_obj" style="font-weight: normal;">
{$title|default:'&nbsp;'}
</span>
</h3>
</div>
</div>
<div id="account_list">
{foreach from=$account_number_list item=detail key=name}
<h2>{$detail['title']}</h2>
{if $detail['list']|count}
<table class="table" style="width:100%;">
<thead>
{if $detail['list']|count}
{foreach from=$detail['fields'] item=col_name key=sql_name}
<th>{$col_name}</th>
{/foreach}
{/if}
</thead>
<tbody>
{foreach from=$detail['list'] item=row key=row_number}
<tr>
{foreach from=$row item=value key=value_num}
<td>{$value}</td>
{/foreach}
</tr>
{/foreach}
</tbody>
</table>
{else}
<p>{l s='No defined account number for this list'}</p>
{/if}
<div class="separation"></div>
{/foreach}
</div>