'; $d=$exp[0]; $rd=explode(".",$d); $register_date=$rd[2]."-".$rd[1]."-".$rd[0]; $t=new EcmTransaction(); $t->name=$name; $t->parent_id=$_POST['account_id']; $t->parent_name=$_POST['account_name']; $t->value=$value; $t->payment_date=$_REQUEST['date']; $t->register_date=$_REQUEST['date']; $t->created_by = $current_user->id; $t->assigned_user_id = $current_user->id; $t->assigned_user_id = '2'; $t->currency_id = 'PLN'; $t->currency_name = 'PLN'; $t->type='1'; //$t->type2='W_zap_dos'; $sum+=$value; $id=$t->save(); echo $value.'     '.$name.'
'; } echo "SUMA: ".$sum; die(); } ?>

Payments States: Import TXT


Kontrahent Plik
Data płatności Enter Date