{literal} {/literal}
{if $smarty.request.m=="customerbill"}{/if} {if $smarty.request.m=="factorybill"}{/if} {if $smarty.request.m=="handlerbill"}{/if} {if $smarty.request.m=="branchbill"}{/if} {foreach from=$edit_field_array item=name key=key name=bill_foreach} {strparse var=fmt value=$name} {if $key == "factory_no"} {elseif $key == "factory_id"} {elseif $key == "complete_status"} {else} {/if} {assign var="li" value=$li+1} {if $li % 2 == 0 && !$smarty.foreach.bill_foreach.last}{/if} {/foreach}
{$fmt.title}
{if $smarty.request.m=="factorybill" && $row.factory_check_status==1} {elseif $smarty.request.m=="branchbill" && $row.branch_check_status==1} {else}
{if $readonly} {else} {/if}
{/if}