variable kasa number
begin
	select id into :kasa from m_pos_kase where sifra = &&sifra_kase;

	update M_POS_VRSTE_NAPLATE set irn = 7, PLUGIN_TIP = 7 where id_kase = :kasa and irn = 1;

	update m_pos_cjenici set MJESTO_PRIHODA = &&mjesto_prihoda where id_kase = :kasa and aktivno = 'Y' and gas_id is not null;

	update m_pos_artikli set subtotal = 1 where id_kase = :kasa and gas_id is not null;

	commit;
end;
/