EcmProducts

Obroty wg dokumentów


{$MOD.LBL_STOCK} Dokument {html_options name=documentsSelected options=$documentList selected=$documentSelected} Widok: {html_options name=viewSelected options=$viewList selected=$viewSelected} Do magazynu {$MOD.LBL_CONTRACTOR}
Data od Enter Date Data do Enter Date Kategoria produktu

{if $viewSelected eq 'documents'} {if $documentSelected eq 'EcmStockDocMoves'} {elseif $documentSelected eq 'EcmStockDocIns'} {elseif $documentSelected eq 'EcmStockDocOuts'} {elseif $documentSelected eq 'EcmInvoiceOuts'} {/if} {foreach from=$DATA.doc key="key" item="item" name=loop} {if $documentSelected eq 'EcmStockDocMoves'} {elseif $documentSelected eq 'EcmStockDocIns' or $documentSelected eq 'EcmStockDocOuts' or $documentSelected eq 'EcmInvoiceOuts' } {/if} {/foreach} {if $documentSelected eq 'EcmStockDocOuts'} {/if}
Numer dokumentu DataMagazyn docelowy Dostawca OdbiorcaKontrahentOpis dokumentu Wartość Magazyn
{$item.numer} {$item.data} {$item.magazynIn} {$item.accountNazwa} {if $item.typ=='KS'} {if $item.otyp==0} Przychód {/if} {if $item.otyp==1} Rozchód {/if} {else} {$item.nazwa} {/if} {assign var=suma value=$suma+$item.wartosc} {$item.wartosc|number_format:2:",":"."} {$item.magazyn}
Suma: {$suma|number_format:2:",":"." }
{elseif $viewSelected eq 'positions'} {if $documentSelected eq 'EcmStockDocInsideIns'} {/if} {foreach from=$DATA.prod key="key" item="item" name=loop} {if $documentSelected eq 'EcmStockDocInsideIns'} {/if} {/foreach} {if $documentSelected eq 'EcmStockDocInsideIns'} {/if}
Indeks Nazwa Jm Ilość WartośćKoszt robocizny
{$item.kod} {$item.nazwa} {$item.jm} {assign var=sumaIlosci value=$sumaIlosci+$item.ilosc} {$item.ilosc|number_format:2:",":"."} {assign var=suma value=$suma+$item.wartosc} {$item.wartosc|number_format:2:",":"."} {assign var=robocizna value=$robocizna+$item.work_price} {$item.work_price|number_format:2:",":"."}
Suma: {$sumaIlosci|number_format:2:",":"." } {$suma|number_format:2:",":"." }{$robocizna|number_format:2:",":"." }
{/if} Strona w budowie :)